Index: test/cctest/compiler/test-run-jsexceptions.cc |
diff --git a/test/cctest/compiler/test-run-jsexceptions.cc b/test/cctest/compiler/test-run-jsexceptions.cc |
index 9b31fe09be15837c4b6df313437eb0a4f5b9f45f..272311adb9b81faadec3a279201a431d5b8ed363 100644 |
--- a/test/cctest/compiler/test-run-jsexceptions.cc |
+++ b/test/cctest/compiler/test-run-jsexceptions.cc |
@@ -31,17 +31,14 @@ TEST(ThrowMessagePosition) { |
v8::Handle<v8::Message> message; |
message = T.CheckThrowsReturnMessage(T.Val(1), T.undefined()); |
- CHECK(!message.IsEmpty()); |
CHECK_EQ(2, message->GetLineNumber()); |
CHECK_EQ(40, message->GetStartPosition()); |
message = T.CheckThrowsReturnMessage(T.Val(2), T.undefined()); |
- CHECK(!message.IsEmpty()); |
CHECK_EQ(3, message->GetLineNumber()); |
CHECK_EQ(67, message->GetStartPosition()); |
message = T.CheckThrowsReturnMessage(T.Val(3), T.undefined()); |
- CHECK(!message.IsEmpty()); |
CHECK_EQ(4, message->GetLineNumber()); |
CHECK_EQ(95, message->GetStartPosition()); |
} |
@@ -57,11 +54,9 @@ TEST(ThrowMessageDirectly) { |
v8::Handle<v8::Message> message; |
message = T.CheckThrowsReturnMessage(T.false_value(), T.Val("Wat?")); |
- CHECK(!message.IsEmpty()); |
CHECK(message->Get()->Equals(v8_str("Uncaught Error: Wat?"))); |
message = T.CheckThrowsReturnMessage(T.true_value(), T.Val("Kaboom!")); |
- CHECK(!message.IsEmpty()); |
CHECK(message->Get()->Equals(v8_str("Uncaught Kaboom!"))); |
} |
@@ -80,11 +75,9 @@ TEST(ThrowMessageIndirectly) { |
v8::Handle<v8::Message> message; |
message = T.CheckThrowsReturnMessage(T.false_value(), T.Val("Wat?")); |
- CHECK(!message.IsEmpty()); |
CHECK(message->Get()->Equals(v8_str("Uncaught Error: Wat?"))); |
message = T.CheckThrowsReturnMessage(T.true_value(), T.Val("Kaboom!")); |
- CHECK(!message.IsEmpty()); |
CHECK(message->Get()->Equals(v8_str("Uncaught Kaboom!"))); |
} |