Skip to content

Commit 589b322

Browse files
committed
fix: fn test
1 parent ca64af0 commit 589b322

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

parser/parser_test.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ mod tests {
126126
#[test]
127127
fn test_fn_else_expression() {
128128
let tt = [
129-
("fn() {};", "fn() { }"),
130-
("fn(x) {};", "fn(x) { }"),
131-
("fn(x, y, z) { x };", "fn(x, y, z) { x }"),
129+
("fn() {};", "fn () { }"),
130+
("fn(x) {};", "fn (x) { }"),
131+
("fn(x, y, z) { x };", "fn (x, y, z) { x }"),
132132
];
133133
verify_program(&tt);
134134
}

0 commit comments

Comments
 (0)