From b4d6d781a16d9e1a765df5c9884a11095dab27c9 Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Sat, 22 Sep 2018 15:41:47 +0200 Subject: [PATCH] dbg_macro: // ignore-wasm --- .../dbg-macro-expected-behavior.rs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/test/ui/rfc-2361-dbg-macro/dbg-macro-expected-behavior.rs b/src/test/ui/rfc-2361-dbg-macro/dbg-macro-expected-behavior.rs index 3f4656004e7a5..8700699b32121 100644 --- a/src/test/ui/rfc-2361-dbg-macro/dbg-macro-expected-behavior.rs +++ b/src/test/ui/rfc-2361-dbg-macro/dbg-macro-expected-behavior.rs @@ -1,4 +1,5 @@ // run-pass +// ignore-wasm // Tests ensuring that `dbg!(expr)` has the expected run-time behavior. // as well as some compile time properties we expect. @@ -55,31 +56,31 @@ fn test() { fn validate_stderr(stderr: Vec) { assert_eq!(stderr, &[ - ":21] Unit = Unit", + ":22] Unit = Unit", - ":22] a = Unit", + ":23] a = Unit", - ":28] Point{x: 42, y: 24,} = Point {", + ":29] Point{x: 42, y: 24,} = Point {", " x: 42,", " y: 24", "}", - ":29] b = Point {", + ":30] b = Point {", " x: 42,", " y: 24", "}", - ":38] &a = NoCopy(", + ":39] &a = NoCopy(", " 1337", ")", - ":38] dbg!(& a) = NoCopy(", + ":39] dbg!(& a) = NoCopy(", " 1337", ")", - ":43] f(&42) = 42", + ":44] f(&42) = 42", "before", - ":48] { foo += 1; eprintln!(\"before\"); 7331 } = 7331", + ":49] { foo += 1; eprintln!(\"before\"); 7331 } = 7331", ]); }