From dab68131d314e6608c547311dfca1655ac8da886 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Sat, 14 Sep 2019 23:02:22 +0200 Subject: [PATCH] Try to fix the test output normalization --- src/test/ui/proc-macro/invalid-punct-ident-1.rs | 10 +++++----- src/test/ui/proc-macro/invalid-punct-ident-2.rs | 10 +++++----- src/test/ui/proc-macro/invalid-punct-ident-3.rs | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/test/ui/proc-macro/invalid-punct-ident-1.rs b/src/test/ui/proc-macro/invalid-punct-ident-1.rs index 3b6498b4b0e..94a4b403d5a 100644 --- a/src/test/ui/proc-macro/invalid-punct-ident-1.rs +++ b/src/test/ui/proc-macro/invalid-punct-ident-1.rs @@ -3,11 +3,11 @@ // FIXME https://github.com/rust-lang/rust/issues/59998 // normalize-stderr-test "thread.*panicked.*proc_macro_server.rs.*\n" -> "" // normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> "" -// normalize-stderr-test "error: internal compiler error.*\n" -> "" -// normalize-stderr-test "note:.*unexpectedly panicked.*\n" -> "" -// normalize-stderr-test "note: we would appreciate a bug report.*\n" -> "" -// normalize-stderr-test "note: compiler flags.*\n" -> "" -// normalize-stderr-test "note: rustc.*running on.*\n" -> "" +// normalize-stderr-test "\nerror: internal compiler error.*\n\n" -> "" +// normalize-stderr-test "note:.*unexpectedly panicked.*\n\n" -> "" +// normalize-stderr-test "note: we would appreciate a bug report.*\n\n" -> "" +// normalize-stderr-test "note: compiler flags.*\n\n" -> "" +// normalize-stderr-test "note: rustc.*running on.*\n\n" -> "" #[macro_use] extern crate invalid_punct_ident; diff --git a/src/test/ui/proc-macro/invalid-punct-ident-2.rs b/src/test/ui/proc-macro/invalid-punct-ident-2.rs index ee57752e2be..778b7eeecd7 100644 --- a/src/test/ui/proc-macro/invalid-punct-ident-2.rs +++ b/src/test/ui/proc-macro/invalid-punct-ident-2.rs @@ -3,11 +3,11 @@ // FIXME https://github.com/rust-lang/rust/issues/59998 // normalize-stderr-test "thread.*panicked.*proc_macro_server.rs.*\n" -> "" // normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> "" -// normalize-stderr-test "error: internal compiler error.*\n" -> "" -// normalize-stderr-test "note:.*unexpectedly panicked.*\n" -> "" -// normalize-stderr-test "note: we would appreciate a bug report.*\n" -> "" -// normalize-stderr-test "note: compiler flags.*\n" -> "" -// normalize-stderr-test "note: rustc.*running on.*\n" -> "" +// normalize-stderr-test "\nerror: internal compiler error.*\n\n" -> "" +// normalize-stderr-test "note:.*unexpectedly panicked.*\n\n" -> "" +// normalize-stderr-test "note: we would appreciate a bug report.*\n\n" -> "" +// normalize-stderr-test "note: compiler flags.*\n\n" -> "" +// normalize-stderr-test "note: rustc.*running on.*\n\n" -> "" #[macro_use] extern crate invalid_punct_ident; diff --git a/src/test/ui/proc-macro/invalid-punct-ident-3.rs b/src/test/ui/proc-macro/invalid-punct-ident-3.rs index efcd6801ecb..f68ee3de7f4 100644 --- a/src/test/ui/proc-macro/invalid-punct-ident-3.rs +++ b/src/test/ui/proc-macro/invalid-punct-ident-3.rs @@ -3,11 +3,11 @@ // FIXME https://github.com/rust-lang/rust/issues/59998 // normalize-stderr-test "thread.*panicked.*proc_macro_server.rs.*\n" -> "" // normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> "" -// normalize-stderr-test "error: internal compiler error.*\n" -> "" -// normalize-stderr-test "note:.*unexpectedly panicked.*\n" -> "" -// normalize-stderr-test "note: we would appreciate a bug report.*\n" -> "" -// normalize-stderr-test "note: compiler flags.*\n" -> "" -// normalize-stderr-test "note: rustc.*running on.*\n" -> "" +// normalize-stderr-test "\nerror: internal compiler error.*\n\n" -> "" +// normalize-stderr-test "note:.*unexpectedly panicked.*\n\n" -> "" +// normalize-stderr-test "note: we would appreciate a bug report.*\n\n" -> "" +// normalize-stderr-test "note: compiler flags.*\n\n" -> "" +// normalize-stderr-test "note: rustc.*running on.*\n\n" -> "" #[macro_use] extern crate invalid_punct_ident; -- 2.44.0