Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: runtime/vm/assert_test.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/assembler_x64_test.cc ('k') | runtime/vm/ast.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « runtime/vm/assembler_x64_test.cc ('k') | runtime/vm/ast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698