Index: runtime/vm/assert_test.cc |
diff --git a/runtime/vm/assert_test.cc b/runtime/vm/assert_test.cc |
index d74b940edb28ebd5003e007ad0f89e5b69495602..45c24c8d65b94f3a52a33e14351bcd075af57db2 100644 |
--- a/runtime/vm/assert_test.cc |
+++ b/runtime/vm/assert_test.cc |
@@ -5,14 +5,12 @@ |
#include "platform/assert.h" |
#include "vm/unit_test.h" |
- |
VM_UNIT_TEST_CASE(Assert) { |
ASSERT(true); |
ASSERT(87 == 87); |
ASSERT(42 != 87); |
} |
- |
VM_UNIT_TEST_CASE(Expect) { |
EXPECT(true); |
EXPECT(87 == 87); |
@@ -47,17 +45,14 @@ VM_UNIT_TEST_CASE(Expect) { |
EXPECT_FLOAT_EQ(1.43, 1.43, 0.00); |
} |
- |
VM_UNIT_TEST_CASE(Fail0) { |
FAIL("This test fails"); |
} |
- |
VM_UNIT_TEST_CASE(Fail1) { |
FAIL1("This test fails with one argument: %d", 4); |
} |
- |
VM_UNIT_TEST_CASE(Fail2) { |
FAIL2("This test fails with two arguments: %d, %d", -100, 42); |
} |