diff options
author | Aleksey Kladov <[email protected]> | 2019-01-14 13:27:08 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-15 11:18:24 +0000 |
commit | d79a9b17dc4fb132443aa4ec1ca0ab278d2a217c (patch) | |
tree | 525b697381048b2f6d615a9c66c92485db8511ec /crates/ra_ide_api/tests/test/snapshots/test__unresolved_module_diagnostic.snap | |
parent | 8caff4e03475c20392f13e8c6ad469bd01a4b4ce (diff) |
switch to insta for testing
Diffstat (limited to 'crates/ra_ide_api/tests/test/snapshots/test__unresolved_module_diagnostic.snap')
-rw-r--r-- | crates/ra_ide_api/tests/test/snapshots/test__unresolved_module_diagnostic.snap | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/crates/ra_ide_api/tests/test/snapshots/test__unresolved_module_diagnostic.snap b/crates/ra_ide_api/tests/test/snapshots/test__unresolved_module_diagnostic.snap new file mode 100644 index 000000000..1b41e2b00 --- /dev/null +++ b/crates/ra_ide_api/tests/test/snapshots/test__unresolved_module_diagnostic.snap | |||
@@ -0,0 +1,26 @@ | |||
1 | Created: 2019-01-15T11:15:20.891129945+00:00 | ||
2 | Creator: [email protected] | ||
3 | Source: crates/ra_ide_api/tests/test/main.rs | ||
4 | |||
5 | [ | ||
6 | Diagnostic { | ||
7 | message: "unresolved module", | ||
8 | range: [4; 7), | ||
9 | fix: Some( | ||
10 | SourceChange { | ||
11 | label: "create module", | ||
12 | source_file_edits: [], | ||
13 | file_system_edits: [ | ||
14 | CreateFile { | ||
15 | source_root: SourceRootId( | ||
16 | 0 | ||
17 | ), | ||
18 | path: "foo.rs" | ||
19 | } | ||
20 | ], | ||
21 | cursor_position: None | ||
22 | } | ||
23 | ), | ||
24 | severity: Error | ||
25 | } | ||
26 | ] | ||