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

File diff suppressed because it is too large Load diff

View file

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

View file

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