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_light/src/snapshots/tests__highlighting.snap | |
parent | 8caff4e03475c20392f13e8c6ad469bd01a4b4ce (diff) |
switch to insta for testing
Diffstat (limited to 'crates/ra_ide_api_light/src/snapshots/tests__highlighting.snap')
-rw-r--r-- | crates/ra_ide_api_light/src/snapshots/tests__highlighting.snap | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/crates/ra_ide_api_light/src/snapshots/tests__highlighting.snap b/crates/ra_ide_api_light/src/snapshots/tests__highlighting.snap new file mode 100644 index 000000000..d8f44a713 --- /dev/null +++ b/crates/ra_ide_api_light/src/snapshots/tests__highlighting.snap | |||
@@ -0,0 +1,30 @@ | |||
1 | Created: 2019-01-15T11:15:21.073858657+00:00 | ||
2 | Creator: [email protected] | ||
3 | Source: crates/ra_ide_api_light/src/lib.rs | ||
4 | |||
5 | [ | ||
6 | HighlightedRange { | ||
7 | range: [1; 11), | ||
8 | tag: "comment" | ||
9 | }, | ||
10 | HighlightedRange { | ||
11 | range: [12; 14), | ||
12 | tag: "keyword" | ||
13 | }, | ||
14 | HighlightedRange { | ||
15 | range: [15; 19), | ||
16 | tag: "function" | ||
17 | }, | ||
18 | HighlightedRange { | ||
19 | range: [29; 37), | ||
20 | tag: "macro" | ||
21 | }, | ||
22 | HighlightedRange { | ||
23 | range: [38; 50), | ||
24 | tag: "string" | ||
25 | }, | ||
26 | HighlightedRange { | ||
27 | range: [52; 54), | ||
28 | tag: "literal" | ||
29 | } | ||
30 | ] | ||