diff options
Diffstat (limited to 'crates/ra_hir/src/nameres/tests/globs.rs')
-rw-r--r-- | crates/ra_hir/src/nameres/tests/globs.rs | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/crates/ra_hir/src/nameres/tests/globs.rs b/crates/ra_hir/src/nameres/tests/globs.rs index 6e50c7ff6..e1519ca6b 100644 --- a/crates/ra_hir/src/nameres/tests/globs.rs +++ b/crates/ra_hir/src/nameres/tests/globs.rs | |||
@@ -18,20 +18,20 @@ fn glob_1() { | |||
18 | ", | 18 | ", |
19 | ); | 19 | ); |
20 | assert_snapshot_matches!(map, @r###" | 20 | assert_snapshot_matches!(map, @r###" |
21 | crate | 21 | ⋮crate |
22 | bar: t | 22 | ⋮Baz: t v |
23 | Foo: t v | 23 | ⋮Foo: t v |
24 | Baz: t v | 24 | ⋮bar: t |
25 | foo: t | 25 | ⋮foo: t |
26 | 26 | ⋮ | |
27 | crate::foo | 27 | ⋮crate::foo |
28 | bar: t | 28 | ⋮Baz: t v |
29 | Foo: t v | 29 | ⋮Foo: t v |
30 | Baz: t v | 30 | ⋮bar: t |
31 | 31 | ⋮ | |
32 | crate::foo::bar | 32 | ⋮crate::foo::bar |
33 | Baz: t v | 33 | ⋮Baz: t v |
34 | "### | 34 | "### |
35 | ); | 35 | ); |
36 | } | 36 | } |
37 | 37 | ||
@@ -54,22 +54,22 @@ fn glob_2() { | |||
54 | ", | 54 | ", |
55 | ); | 55 | ); |
56 | assert_snapshot_matches!(map, @r###" | 56 | assert_snapshot_matches!(map, @r###" |
57 | crate | 57 | ⋮crate |
58 | bar: t | 58 | ⋮Baz: t v |
59 | Foo: t v | 59 | ⋮Foo: t v |
60 | Baz: t v | 60 | ⋮bar: t |
61 | foo: t | 61 | ⋮foo: t |
62 | 62 | ⋮ | |
63 | crate::foo | 63 | ⋮crate::foo |
64 | bar: t | 64 | ⋮Baz: t v |
65 | Foo: t v | 65 | ⋮Foo: t v |
66 | Baz: t v | 66 | ⋮bar: t |
67 | 67 | ⋮ | |
68 | crate::foo::bar | 68 | ⋮crate::foo::bar |
69 | bar: t | 69 | ⋮Baz: t v |
70 | Foo: t v | 70 | ⋮Foo: t v |
71 | Baz: t v | 71 | ⋮bar: t |
72 | "### | 72 | "### |
73 | ); | 73 | ); |
74 | } | 74 | } |
75 | 75 | ||
@@ -90,9 +90,9 @@ fn glob_across_crates() { | |||
90 | }, | 90 | }, |
91 | ); | 91 | ); |
92 | assert_snapshot_matches!(map, @r###" | 92 | assert_snapshot_matches!(map, @r###" |
93 | crate | 93 | ⋮crate |
94 | Baz: t v | 94 | ⋮Baz: t v |
95 | "### | 95 | "### |
96 | ); | 96 | ); |
97 | } | 97 | } |
98 | 98 | ||
@@ -109,10 +109,10 @@ fn glob_enum() { | |||
109 | ", | 109 | ", |
110 | ); | 110 | ); |
111 | assert_snapshot_matches!(map, @r###" | 111 | assert_snapshot_matches!(map, @r###" |
112 | crate | 112 | ⋮crate |
113 | Foo: t | 113 | ⋮Bar: t v |
114 | Bar: t v | 114 | ⋮Baz: t v |
115 | Baz: t v | 115 | ⋮Foo: t |
116 | "### | 116 | "### |
117 | ); | 117 | ); |
118 | } | 118 | } |