| 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()));
|
|
|