aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/display
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-08-29 14:49:10 +0100
committerAleksey Kladov <[email protected]>2019-08-29 15:04:01 +0100
commit0f6c048ce1a621ccd3e2080ec5aafbd053c516f4 (patch)
tree4aa7826d1b9a7222ad64085f136a1615d7daa7a5 /crates/ra_ide_api/src/display
parent5a99184967c89992df4544d0c1ca27d79946a1a7 (diff)
:arrow_up: insta
Diffstat (limited to 'crates/ra_ide_api/src/display')
-rw-r--r--crates/ra_ide_api/src/display/structure.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide_api/src/display/structure.rs b/crates/ra_ide_api/src/display/structure.rs
index a2025ed59..be042ed17 100644
--- a/crates/ra_ide_api/src/display/structure.rs
+++ b/crates/ra_ide_api/src/display/structure.rs
@@ -161,7 +161,7 @@ fn structure_node(node: &SyntaxNode) -> Option<StructureNode> {
161#[cfg(test)] 161#[cfg(test)]
162mod tests { 162mod tests {
163 use super::*; 163 use super::*;
164 use insta::assert_debug_snapshot_matches; 164 use insta::assert_debug_snapshot;
165 165
166 #[test] 166 #[test]
167 fn test_file_structure() { 167 fn test_file_structure() {
@@ -204,7 +204,7 @@ fn very_obsolete() {}
204 .ok() 204 .ok()
205 .unwrap(); 205 .unwrap();
206 let structure = file_structure(&file); 206 let structure = file_structure(&file);
207 assert_debug_snapshot_matches!(structure, 207 assert_debug_snapshot!(structure,
208 @r#"[ 208 @r#"[
209 StructureNode { 209 StructureNode {
210 parent: None, 210 parent: None,