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

Unified Diff: runtime/vm/os_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/os_macos.cc ('k') | runtime/vm/os_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_test.cc
diff --git a/runtime/vm/os_test.cc b/runtime/vm/os_test.cc
index 2c314176d0d478a9d8759a5f0d1abcabd3edd7df..3967bf0911a5f1b0afa760ff162eb5878619909a 100644
--- a/runtime/vm/os_test.cc
+++ b/runtime/vm/os_test.cc
@@ -2,10 +2,10 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+#include "vm/os.h"
#include "platform/assert.h"
#include "platform/utils.h"
#include "vm/globals.h"
-#include "vm/os.h"
#include "vm/unit_test.h"
namespace dart {
@@ -21,7 +21,6 @@ VM_UNIT_TEST_CASE(Sleep) {
EXPECT_LE(delta, sleep_time + kAcceptableSleepWakeupJitter);
}
-
VM_UNIT_TEST_CASE(SNPrint) {
char buffer[256];
int length;
@@ -38,7 +37,6 @@ VM_UNIT_TEST_CASE(SNPrint) {
EXPECT_EQ(3, length);
}
-
// This test is expected to crash when it runs.
VM_UNIT_TEST_CASE(SNPrint_BadArgs) {
int width = kMaxInt32;
@@ -46,7 +44,6 @@ VM_UNIT_TEST_CASE(SNPrint_BadArgs) {
OS::SNPrint(NULL, 0, "%*d%*d", width, num, width, num);
}
-
VM_UNIT_TEST_CASE(OsFuncs) {
EXPECT(Utils::IsPowerOfTwo(OS::ActivationFrameAlignment()));
EXPECT(Utils::IsPowerOfTwo(OS::PreferredCodeAlignment()));
« no previous file with comments | « runtime/vm/os_macos.cc ('k') | runtime/vm/os_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698