From d79a9b17dc4fb132443aa4ec1ca0ab278d2a217c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 14 Jan 2019 16:27:08 +0300 Subject: switch to insta for testing --- .../src/snapshots/tests__highlighting.snap | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 crates/ra_ide_api_light/src/snapshots/tests__highlighting.snap (limited to 'crates/ra_ide_api_light/src/snapshots/tests__highlighting.snap') 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 @@ +Created: 2019-01-15T11:15:21.073858657+00:00 +Creator: insta@0.1.4 +Source: crates/ra_ide_api_light/src/lib.rs + +[ + HighlightedRange { + range: [1; 11), + tag: "comment" + }, + HighlightedRange { + range: [12; 14), + tag: "keyword" + }, + HighlightedRange { + range: [15; 19), + tag: "function" + }, + HighlightedRange { + range: [29; 37), + tag: "macro" + }, + HighlightedRange { + range: [38; 50), + tag: "string" + }, + HighlightedRange { + range: [52; 54), + tag: "literal" + } +] -- cgit v1.2.3