diff options
author | Aleksey Kladov <[email protected]> | 2019-08-29 14:49:10 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-08-29 15:04:01 +0100 |
commit | 0f6c048ce1a621ccd3e2080ec5aafbd053c516f4 (patch) | |
tree | 4aa7826d1b9a7222ad64085f136a1615d7daa7a5 /crates/ra_hir/src/nameres/tests/globs.rs | |
parent | 5a99184967c89992df4544d0c1ca27d79946a1a7 (diff) |
:arrow_up: insta
Diffstat (limited to 'crates/ra_hir/src/nameres/tests/globs.rs')
-rw-r--r-- | crates/ra_hir/src/nameres/tests/globs.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_hir/src/nameres/tests/globs.rs b/crates/ra_hir/src/nameres/tests/globs.rs index e1519ca6b..7ac22b47b 100644 --- a/crates/ra_hir/src/nameres/tests/globs.rs +++ b/crates/ra_hir/src/nameres/tests/globs.rs | |||
@@ -17,7 +17,7 @@ fn glob_1() { | |||
17 | pub struct Baz; | 17 | pub struct Baz; |
18 | ", | 18 | ", |
19 | ); | 19 | ); |
20 | assert_snapshot_matches!(map, @r###" | 20 | assert_snapshot!(map, @r###" |
21 | ⋮crate | 21 | ⋮crate |
22 | ⋮Baz: t v | 22 | ⋮Baz: t v |
23 | ⋮Foo: t v | 23 | ⋮Foo: t v |
@@ -53,7 +53,7 @@ fn glob_2() { | |||
53 | pub use super::*; | 53 | pub use super::*; |
54 | ", | 54 | ", |
55 | ); | 55 | ); |
56 | assert_snapshot_matches!(map, @r###" | 56 | assert_snapshot!(map, @r###" |
57 | ⋮crate | 57 | ⋮crate |
58 | ⋮Baz: t v | 58 | ⋮Baz: t v |
59 | ⋮Foo: t v | 59 | ⋮Foo: t v |
@@ -89,7 +89,7 @@ fn glob_across_crates() { | |||
89 | "test_crate": ("/lib.rs", []), | 89 | "test_crate": ("/lib.rs", []), |
90 | }, | 90 | }, |
91 | ); | 91 | ); |
92 | assert_snapshot_matches!(map, @r###" | 92 | assert_snapshot!(map, @r###" |
93 | ⋮crate | 93 | ⋮crate |
94 | ⋮Baz: t v | 94 | ⋮Baz: t v |
95 | "### | 95 | "### |
@@ -108,7 +108,7 @@ fn glob_enum() { | |||
108 | use self::Foo::*; | 108 | use self::Foo::*; |
109 | ", | 109 | ", |
110 | ); | 110 | ); |
111 | assert_snapshot_matches!(map, @r###" | 111 | assert_snapshot!(map, @r###" |
112 | ⋮crate | 112 | ⋮crate |
113 | ⋮Bar: t v | 113 | ⋮Bar: t v |
114 | ⋮Baz: t v | 114 | ⋮Baz: t v |