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

Unified Diff: runtime/vm/fixed_cache_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/fixed_cache.h ('k') | runtime/vm/flags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/fixed_cache_test.cc
diff --git a/runtime/vm/fixed_cache_test.cc b/runtime/vm/fixed_cache_test.cc
index b27202890ff1b0368b4003b138ee1809928ea9d4..849c4fbc303628f9b4398c5c35bf4ffcf8066a83 100644
--- a/runtime/vm/fixed_cache_test.cc
+++ b/runtime/vm/fixed_cache_test.cc
@@ -2,9 +2,9 @@
// 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/fixed_cache.h"
#include <string.h>
#include "platform/assert.h"
-#include "vm/fixed_cache.h"
#include "vm/unit_test.h"
namespace dart {
@@ -18,7 +18,6 @@ UNIT_TEST_CASE(FixedCacheEmpty) {
EXPECT(cache.Lookup(0) == NULL);
}
-
UNIT_TEST_CASE(FixedCacheHalfFull) {
FixedCache<int, const char*, 8> cache;
// Insert at end.
@@ -42,7 +41,6 @@ UNIT_TEST_CASE(FixedCacheHalfFull) {
EXPECT(cache.Lookup(50) == NULL);
}
-
struct Resource {
Resource() : id(0) { copies++; }
explicit Resource(int id_) : id(id_) { copies++; }
« no previous file with comments | « runtime/vm/fixed_cache.h ('k') | runtime/vm/flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698