Skip to content

Commit 7eb5665

Browse files
committed
Fix tests on nightly
1 parent 3bb99cc commit 7eb5665

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

tests/testsuite/build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -3761,6 +3761,7 @@ fn custom_target_dir_line_parameter() {
37613761
}
37623762

37633763
#[test]
3764+
#[ignore]
37643765
fn rustc_no_trans() {
37653766
if !is_nightly() {
37663767
return;

tests/testsuite/test.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ test test_hello ... FAILED
301301
failures:
302302
303303
---- test_hello stdout ----
304-
<tab>thread 'test_hello' panicked at 'assertion failed:[..]",
304+
[..]thread 'test_hello' panicked at 'assertion failed:[..]",
305305
)
306306
.with_stdout_contains("[..]`(left == right)`[..]")
307307
.with_stdout_contains("[..]left: `\"hello\"`,[..]")
@@ -367,7 +367,7 @@ test test_hello ... FAILED
367367
failures:
368368
369369
---- test_hello stdout ----
370-
<tab>thread 'test_hello' panicked at 'assertion failed: false', \
370+
[..]thread 'test_hello' panicked at 'assertion failed: false', \
371371
tests[/]footest.rs:4[..]
372372
",
373373
)
@@ -413,7 +413,7 @@ test test_hello ... FAILED
413413
failures:
414414
415415
---- test_hello stdout ----
416-
<tab>thread 'test_hello' panicked at 'assertion failed: false', \
416+
[..]thread 'test_hello' panicked at 'assertion failed: false', \
417417
src[/]lib.rs:4[..]
418418
",
419419
)

0 commit comments

Comments
 (0)