Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 47e13b2

Browse files
committed
update test expectations
1 parent ed6c0c6 commit 47e13b2

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/check_config/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fn test_bad_config_duplicate_crate() {
2121
.assert()
2222
.failure()
2323
.code(1)
24-
.stderr(contains("duplicate key `lazy_static` in table `crates`"));
24+
.stderr(contains("duplicate key"));
2525
}
2626

2727
#[test]
@@ -32,7 +32,7 @@ fn test_bad_config_duplicate_repo() {
3232
.failure()
3333
.code(1)
3434
.stderr(contains(
35-
"duplicate key `brson/hello-rs` in table `github-repos`",
35+
"duplicate key",
3636
));
3737
}
3838

tests/minicrater/full/full.html.context.expected.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/ice-regression"
5959
}
6060
],
61-
"build compiler-error(E0015)": [
61+
"build compiler-error(E0277)": [
6262
{
6363
"color_idx": 0,
6464
"name": "error-code (local)",

tests/minicrater/full/index.html.context.expected.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/ice-regression"
5959
}
6060
],
61-
"build compiler-error(E0015)": [
61+
"build compiler-error(E0277)": [
6262
{
6363
"color_idx": 0,
6464
"name": "error-code (local)",

tests/minicrater/full/markdown.md.context.expected.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
},
7272
{
7373
"log": "beta/local/error-code",
74-
"res": "build-fail:compiler-error(E0015)"
74+
"res": "build-fail:compiler-error(E0277)"
7575
}
7676
],
7777
"url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/error-code"

tests/minicrater/full/results.expected.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
},
158158
{
159159
"log": "beta/local/error-code",
160-
"res": "build-fail:compiler-error(E0015)"
160+
"res": "build-fail:compiler-error(E0277)"
161161
}
162162
],
163163
"url": "https://github.com/rust-lang/crater/tree/HEAD/local-crates/error-code"

0 commit comments

Comments
 (0)