⬆️ insta

This commit is contained in:
Aleksey Kladov
2019-08-29 16:49:10 +03:00
parent 5a99184967
commit 0f6c048ce1
26 changed files with 1446 additions and 1486 deletions

View File

@@ -161,7 +161,7 @@ fn structure_node(node: &SyntaxNode) -> Option<StructureNode> {
#[cfg(test)]
mod tests {
use super::*;
use insta::assert_debug_snapshot_matches;
use insta::assert_debug_snapshot;
#[test]
fn test_file_structure() {
@@ -204,7 +204,7 @@ fn very_obsolete() {}
.ok()
.unwrap();
let structure = file_structure(&file);
assert_debug_snapshot_matches!(structure,
assert_debug_snapshot!(structure,
@r#"[
StructureNode {
parent: None,