Index: test/cctest/test-decls.cc |
diff --git a/test/cctest/test-decls.cc b/test/cctest/test-decls.cc |
index 9f7340e38a5096dd5d4f5f35a714ffee8d7658d1..619839185e651aab3e16787145ea154872357404 100644 |
--- a/test/cctest/test-decls.cc |
+++ b/test/cctest/test-decls.cc |
@@ -498,7 +498,7 @@ TEST(Reappearing) { |
0, |
2, // var declaration + const initialization |
4, // 2 x declaration + 2 x initialization |
- EXPECT_RESULT, Undefined()); // x = 0 fails for a const. |
+ EXPECT_EXCEPTION); // x has already been declared! |
} |
} |