Index: test/mjsunit/wasm/unreachable.js |
diff --git a/test/mjsunit/wasm/unreachable.js b/test/mjsunit/wasm/unreachable.js |
index 3e2dffb4e91f25fa04d7e4b129404b240d063430..76fb5b74cde35cbd3ddd5c29e06e1cf8df9eea9b 100644 |
--- a/test/mjsunit/wasm/unreachable.js |
+++ b/test/mjsunit/wasm/unreachable.js |
@@ -23,4 +23,4 @@ try { |
print("correctly caught: " + e); |
exception = e; |
} |
-assertEquals("unreachable", exception); |
+assertEquals("unreachable", exception.message); |