about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2018-09-22 15:41:47 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2018-09-22 15:41:47 +0200
commitb4d6d781a16d9e1a765df5c9884a11095dab27c9 (patch)
treeca56391b47029dcd7997d0527f95cc4ec0a32521
parent924a69373dd212122c14cbbd60df156ea55761ce (diff)
downloadrust-b4d6d781a16d9e1a765df5c9884a11095dab27c9.tar.gz
rust-b4d6d781a16d9e1a765df5c9884a11095dab27c9.zip
dbg_macro: // ignore-wasm
-rw-r--r--src/test/ui/rfc-2361-dbg-macro/dbg-macro-expected-behavior.rs17
1 files 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 3f4656004e7..8700699b321 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<String>) {
     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",
     ]);
 }