Chromium Code Reviews| Index: test/cctest/test-decls.cc |
| =================================================================== |
| --- test/cctest/test-decls.cc (revision 8778) |
| +++ test/cctest/test-decls.cc (working copy) |
| @@ -498,7 +498,7 @@ |
| 0, |
| 2, // var declaration + const initialization |
| 4, // 2 x declaration + 2 x initialization |
| - EXPECT_EXCEPTION); // x has already been declared! |
| + EXPECT_RESULT, Undefined()); // x = 0 fails for a const. |
| } |
| } |