Index: test/cctest/test-api.cc |
=================================================================== |
--- test/cctest/test-api.cc (revision 1658) |
+++ test/cctest/test-api.cc (working copy) |
@@ -4557,11 +4557,6 @@ |
value = Script::Compile(v8_str(call_17))->Run(); |
CHECK(!try_catch.HasCaught()); |
CHECK_EQ(17, value->Int32Value()); |
- |
- // Try something that will cause an exception: Call the object as a |
Mads Ager (chromium)
2009/04/28 10:50:15
Please add a test case for the intended behavior o
Feng Qian
2009/04/30 23:26:15
This needs to be tested by a layout test. V8 treat
|
- // constructor. This should be the last test. |
- value = Script::Compile(v8_str("new obj(42)"))->Run(); |
- CHECK(try_catch.HasCaught()); |
} |