Skip to content

Commit 9fda576

Browse files
committed
test: add missing snapshot
1 parent bbbcffd commit 9fda576

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
source: tests/integration_test.rs
3+
assertion_line: 20
4+
expression: output_lines
5+
---
6+
- "STDOUT:"
7+
- ""
8+
- ""
9+
- "\u001b[1m>>>\u001b[0m Lint for \u001b[4mtests/fixtures/fake_source_file.rs\u001b[0m:"
10+
- ""
11+
- " \u001b[43m\u001b[1mAdvice\u001b[0m (DUMMY) \u001b[4mdummy failure\u001b[0m"
12+
- " A dummy linter failure"
13+
- ""
14+
- " \u001b[36mYou can run `lintrunner -a` to apply this patch.\u001b[0m"
15+
- ""
16+
- " \u001b[2m0 \u001b[0m |\u001b[31m\u001b[1m-\u001b[0m\u001b[31mfoo\u001b[0m\u001b[31m\u001b[40m\u001b[4m \u001b[0m\u001b[31m"
17+
- "\u001b[0m \u001b[2m1 \u001b[0m |\u001b[31m\u001b[1m-\u001b[0m\u001b[31mbar\u001b[0m\u001b[31m\u001b[40m\u001b[4m \u001b[0m\u001b[31m"
18+
- "\u001b[0m \u001b[2m2 \u001b[0m |\u001b[31m\u001b[1m-\u001b[0m\u001b[31mbaz\u001b[0m\u001b[31m\u001b[40m\u001b[4m \u001b[0m\u001b[31m"
19+
- "\u001b[0m \u001b[2m3 \u001b[0m |\u001b[31m\u001b[1m-\u001b[0m\u001b[31mfoo\u001b[0m\u001b[31m\u001b[40m\u001b[4m \u001b[0m\u001b[31m"
20+
- "\u001b[0m \u001b[2m 1\u001b[0m |\u001b[32m\u001b[1m+\u001b[0m\u001b[32mfoo\u001b[0m\u001b[32m"
21+
- "\u001b[0m \u001b[2m 2\u001b[0m |\u001b[32m\u001b[1m+\u001b[0m\u001b[32mbar\u001b[0m\u001b[32m"
22+
- "\u001b[0m \u001b[2m 3\u001b[0m |\u001b[32m\u001b[1m+\u001b[0m\u001b[32mbaz\u001b[0m\u001b[32m"
23+
- "\u001b[0m \u001b[2m 4\u001b[0m |\u001b[32m\u001b[1m+\u001b[0m\u001b[32mfoo\u001b[0m\u001b[32m"
24+
- "\u001b[0m"
25+
- ""
26+
- ""
27+
- "STDERR:"
28+
- "\u001b[33m\u001b[1mWARNING: No previous init data found. If this is the first time you're running lintrunner, you should run `lintrunner init`.\u001b[0m"
29+

0 commit comments

Comments
 (0)