Skip to content

Commit d0cba1a

Browse files
committed
test: update test snapshots
1 parent cec774b commit d0cba1a

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/snapshots/integration_test__invalid_config_fails.snap

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ expression: output_lines
77
- ""
88
- "STDERR:"
99
- "error: Config file had invalid schema"
10+
- ""
11+
- " Caused by:"
12+
- " missing field `linter`"
1013
- "caused_by: missing field `linter`"
11-

tests/snapshots/integration_test__simple_linter_fails_on_nonexistent_file.snap

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
22
source: tests/integration_test.rs
33
expression: output_lines
4-
54
---
65
- "STDOUT:"
76
- ""
87
- ""
98
- "STDERR:"
109
- "WARNING: No previous init data found. If this is the first time you're running lintrunner, you should run `lintrunner init`."
1110
- "error: Failed to find provided file: 'blahblahblah'"
11+
- ""
12+
- " Caused by:"
13+
- " No such file or directory (os error 2)"
1214
- "caused_by: No such file or directory (os error 2)"
13-

tests/snapshots/integration_test__unknown_config_fails.snap

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
source: tests/integration_test.rs
33
expression: output_lines
4-
54
---
65
- "STDOUT:"
76
- ""
87
- ""
98
- "STDERR:"
109
- "error: Could not read lintrunner config at: 'asdfasdfasdf'"
10+
- ""
11+
- " Caused by:"
12+
- " No such file or directory (os error 2)"
1113
- "caused_by: No such file or directory (os error 2)"
12-

0 commit comments

Comments
 (0)