Skip to content

Commit fe4463a

Browse files
committed
fixup! test: migrate workspaces to snapbox
1 parent dd60bc5 commit fe4463a

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

tests/testsuite/workspaces.rs

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ fn invalid_parent_pointer() {
428428
[ERROR] failed to read `[ROOT]/foo/foo/Cargo.toml`
429429
430430
Caused by:
431-
[..] (os error [..])
431+
[NOT_FOUND]
432432
433433
"#]])
434434
.run();
@@ -463,7 +463,7 @@ Caused by:
463463
failed to read `[ROOT]/foo/foo/Cargo.toml`
464464
465465
Caused by:
466-
[..] (os error [..])
466+
[NOT_FOUND]
467467
468468
"#]])
469469
.run();
@@ -1232,10 +1232,7 @@ fn rebuild_please() {
12321232
.with_status(101)
12331233
.with_stderr_data(str![[r#"
12341234
...
1235-
assertion `left == right` failed
1236-
left: 1
1237-
right: 0
1238-
[NOTE] run with `RUST_BACKTRACE=1` environment variable to display a backtrace
1235+
assertion[..]
12391236
...
12401237
"#]])
12411238
.run();
@@ -1978,7 +1975,7 @@ Caused by:
19781975
failed to read `[ROOT]/foo/crates/bar/Cargo.toml`
19791976
19801977
Caused by:
1981-
[..] (os error [..])
1978+
[NOT_FOUND]
19821979
19831980
"#]])
19841981
.run();
@@ -2446,7 +2443,7 @@ Caused by:
24462443
failed to read `[ROOT]/foo/x/Cargo.toml`
24472444
24482445
Caused by:
2449-
[..] (os error [..])
2446+
[NOT_FOUND]
24502447
24512448
"#]])
24522449
.run();
@@ -2497,7 +2494,7 @@ Caused by:
24972494
failed to read `[ROOT]/foo/bar/baz/Cargo.toml`
24982495
24992496
Caused by:
2500-
[..] (os error [..])
2497+
[NOT_FOUND]
25012498
25022499
"#]])
25032500
.run();

0 commit comments

Comments
 (0)