Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
NTTVy03 committed Jan 2, 2025
1 parent ccc7226 commit 9a17705
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/syntax/src/syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -506,13 +506,12 @@ mod grammar_tests {
lin === lout;
}
}"#;



let syntax = syntax_node_from_source(&source, Scope::Block);

// cast syntax node into ast node to retrieve more information
let block = AstBlock::cast(syntax).expect("Can not cast syntax node into ast block");

let string_syntax = block.syntax().text().to_string();
insta::assert_yaml_snapshot!("declaration_happy_test_source", string_syntax);
}
Expand Down

0 comments on commit 9a17705

Please sign in to comment.