style(tests): fix indentation in expect blocks

Signed-off-by: Charlotte Meyer <dev@buffet.sh>
This commit is contained in:
buffet 2022-11-05 13:32:38 +00:00
parent 5e18e89af4
commit 87b911183c
5 changed files with 1001 additions and 1001 deletions

File diff suppressed because it is too large Load diff

View file

@ -18,11 +18,11 @@ fn eof() {
check!(
"",
expect![[r#"
Token {
kind: Eof,
len: 0,
}
"#]],
Token {
kind: Eof,
len: 0,
}
"#]],
Command
);
}
@ -60,11 +60,11 @@ fn semicolon() {
check!(
";",
expect![[r#"
Token {
kind: Semicolon,
len: 1,
}
"#]],
Token {
kind: Semicolon,
len: 1,
}
"#]],
Command
);
}
@ -74,11 +74,11 @@ fn pipe() {
check!(
"|",
expect![[r#"
Token {
kind: Pipe,
len: 1,
}
"#]],
Token {
kind: Pipe,
len: 1,
}
"#]],
Command
);
}
@ -130,11 +130,11 @@ fn comment() {
check!(
"# hey",
expect![[r#"
Token {
kind: Comment,
len: 5,
}
"#]],
Token {
kind: Comment,
len: 5,
}
"#]],
Command
);
}

File diff suppressed because it is too large Load diff

View file

@ -38,8 +38,8 @@ fn simple_builtin() {
check(
&ast,
expect![[r#"
"this is a test\r\n"
"#]],
"this is a test\r\n"
"#]],
);
}
@ -66,7 +66,7 @@ fn builtin_redirection() {
check(
&ast,
expect![[r#"
"15\r\n"
"#]],
"15\r\n"
"#]],
);
}

View file

@ -31,8 +31,8 @@ fn simple_command() {
check(
&ast,
expect![[r#"
"hi\r\n"
"#]],
"hi\r\n"
"#]],
);
}
@ -163,7 +163,7 @@ fn command_substitution() {
check(
&ast,
expect![[r#"
"hello\r\n"
"#]],
"hello\r\n"
"#]],
);
}