style(tests): fix indentation in expect blocks
Signed-off-by: Charlotte Meyer <dev@buffet.sh>
This commit is contained in:
parent
5e18e89af4
commit
87b911183c
5 changed files with 1001 additions and 1001 deletions
File diff suppressed because it is too large
Load diff
|
@ -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
|
@ -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"
|
||||
"#]],
|
||||
);
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
"#]],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue