roc/compiler/parse
Jan Van Bruggen fa466cd8d8
Fix a failing test
How did this pass CI testing?

Output from `cargo test --release`:
```
failures:

---- test_parse::comment_after_def stdout ----
The source code for this test did not successfully parse!

thread 'test_parse::comment_after_def' panicked at 'assertion failed: `(left == right)`

Diff < left / right > :
 [
<    |L 0-0, C 0-7| SpaceAfter(
>    @0-7 SpaceAfter(
         SpaceBefore(
             Body(
<                |L 0-0, C 0-3| Identifier(
>                @0-3 Identifier(
                     "foo",
                 ),
<                |L 0-0, C 6-7| Num(
>                @6-7 Num(
                     "1",
                 ),
             ),
             [],
         ),
         [
             LineComment(
                 " comment after",
             ),
         ],
     ),
 ]

', compiler/parse/tests/test_parse.rs:291:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    test_parse::comment_after_def

test result: FAILED. 164 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

error: test failed, to rerun pass '-p roc_parse --test test_parse'
```
2022-02-11 04:20:29 -07:00
..
benches Add simple benchmark for the parser: parse false-interpreter 2021-12-24 11:54:42 -08:00
fuzz bump bumpalo 2021-04-18 14:36:47 +02:00
src Merge pull request #2160 from rtfeldman/editor-comments 2022-02-10 11:49:10 +01:00
tests Fix a failing test 2022-02-11 04:20:29 -07:00
Cargo.toml Add simple benchmark for the parser: parse false-interpreter 2021-12-24 11:54:42 -08:00