Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Commit

Permalink
Fix tests [ci no changelog needed]
Browse files Browse the repository at this point in the history
  • Loading branch information
farmaazon committed Feb 25, 2021
1 parent 85e1150 commit 1e107d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/rust/ide/lib/parser/tests/bugs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ wasm_bindgen_test_configure!(run_in_browser);
fn missing_macro_segment() {
// TODO: should succeed
// https://github.com/enso-org/enso/issues/256
assert!(parser::Parser::new_or_panic().parse_line("a ->").is_err());
assert!(parser::Parser::new_or_panic().parse_line("-> a").is_err());
}

Expand Down
2 changes: 2 additions & 0 deletions src/rust/ide/lib/parser/tests/parsing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ impl Fixture {
, "export bar"
, "from bar import all"
, "from bar export bo"
, "a ->"
];

for macro_usage in macro_usages.iter() {
Expand All @@ -424,6 +425,7 @@ impl Fixture {
assert_eq!(segment_body.off,2);
assert_var(&segment_body.wrapped,"foo");
});

}

fn run(&mut self) {
Expand Down

0 comments on commit 1e107d9

Please sign in to comment.