diff options
Diffstat (limited to 'crates/ra_hir/src/nameres/tests/macros.rs')
-rw-r--r-- | crates/ra_hir/src/nameres/tests/macros.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_hir/src/nameres/tests/macros.rs b/crates/ra_hir/src/nameres/tests/macros.rs index 4e04740eb..631df2cef 100644 --- a/crates/ra_hir/src/nameres/tests/macros.rs +++ b/crates/ra_hir/src/nameres/tests/macros.rs | |||
@@ -17,7 +17,7 @@ fn macro_rules_are_globally_visible() { | |||
17 | structs!(Bar, Baz); | 17 | structs!(Bar, Baz); |
18 | ", | 18 | ", |
19 | ); | 19 | ); |
20 | assert_snapshot_matches!(map, @r###" | 20 | assert_snapshot!(map, @r###" |
21 | ⋮crate | 21 | ⋮crate |
22 | ⋮Foo: t v | 22 | ⋮Foo: t v |
23 | ⋮nested: t | 23 | ⋮nested: t |
@@ -45,7 +45,7 @@ fn macro_rules_can_define_modules() { | |||
45 | struct X; | 45 | struct X; |
46 | ", | 46 | ", |
47 | ); | 47 | ); |
48 | assert_snapshot_matches!(map, @r###" | 48 | assert_snapshot!(map, @r###" |
49 | ⋮crate | 49 | ⋮crate |
50 | ⋮m: m | 50 | ⋮m: m |
51 | ⋮n1: t | 51 | ⋮n1: t |
@@ -82,7 +82,7 @@ fn macro_rules_from_other_crates_are_visible() { | |||
82 | "foo": ("/lib.rs", []), | 82 | "foo": ("/lib.rs", []), |
83 | }, | 83 | }, |
84 | ); | 84 | ); |
85 | assert_snapshot_matches!(map, @r###" | 85 | assert_snapshot!(map, @r###" |
86 | ⋮crate | 86 | ⋮crate |
87 | ⋮Bar: t v | 87 | ⋮Bar: t v |
88 | ⋮Foo: t v | 88 | ⋮Foo: t v |
@@ -129,7 +129,7 @@ fn unexpanded_macro_should_expand_by_fixedpoint_loop() { | |||
129 | "foo": ("/lib.rs", []), | 129 | "foo": ("/lib.rs", []), |
130 | }, | 130 | }, |
131 | ); | 131 | ); |
132 | assert_snapshot_matches!(map, @r###" | 132 | assert_snapshot!(map, @r###" |
133 | ⋮crate | 133 | ⋮crate |
134 | ⋮Foo: t v | 134 | ⋮Foo: t v |
135 | ⋮bar: m | 135 | ⋮bar: m |