From 7eb5665393d6fdf2c061b3664b340879e4c9bbdf Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 24 May 2018 18:05:12 -0700 Subject: [PATCH] Fix tests on nightly --- tests/testsuite/build.rs | 1 + tests/testsuite/test.rs | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/testsuite/build.rs b/tests/testsuite/build.rs index bba6fd263..730c19cb3 100644 --- a/tests/testsuite/build.rs +++ b/tests/testsuite/build.rs @@ -3761,6 +3761,7 @@ fn custom_target_dir_line_parameter() { } #[test] +#[ignore] fn rustc_no_trans() { if !is_nightly() { return; diff --git a/tests/testsuite/test.rs b/tests/testsuite/test.rs index c48dbf2bb..47ff91091 100644 --- a/tests/testsuite/test.rs +++ b/tests/testsuite/test.rs @@ -301,7 +301,7 @@ test test_hello ... FAILED failures: ---- test_hello stdout ---- -thread 'test_hello' panicked at 'assertion failed:[..]", +[..]thread 'test_hello' panicked at 'assertion failed:[..]", ) .with_stdout_contains("[..]`(left == right)`[..]") .with_stdout_contains("[..]left: `\"hello\"`,[..]") @@ -367,7 +367,7 @@ test test_hello ... FAILED failures: ---- test_hello stdout ---- -thread 'test_hello' panicked at 'assertion failed: false', \ +[..]thread 'test_hello' panicked at 'assertion failed: false', \ tests[/]footest.rs:4[..] ", ) @@ -413,7 +413,7 @@ test test_hello ... FAILED failures: ---- test_hello stdout ---- -thread 'test_hello' panicked at 'assertion failed: false', \ +[..]thread 'test_hello' panicked at 'assertion failed: false', \ src[/]lib.rs:4[..] ", ) -- 2.30.2