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

Unified Diff: tests/compiler/dart2js/stats_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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 | « tests/compiler/dart2js/static_closure_test.dart ('k') | tests/compiler/dart2js/string_add_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/stats_test.dart
diff --git a/tests/compiler/dart2js/stats_test.dart b/tests/compiler/dart2js/stats_test.dart
index 8aad173570b3d1c54b06c4926d5be10b8dbd5220..2f30919caae2717233c96ce1cdf89debf241c1d9 100644
--- a/tests/compiler/dart2js/stats_test.dart
+++ b/tests/compiler/dart2js/stats_test.dart
@@ -28,7 +28,8 @@ void testRecordElement() {
stats.recordElement('foo', 'b');
stats.recordElement('bar', 'a', data: 'third-a-data');
stats.recordElement('bar', 'c');
- }, r'''
+ },
+ r'''
foo: 2
value=a data=second-a-data
b
@@ -45,7 +46,8 @@ void testRecordFrequency() {
stats.recordFrequency('bar', 'b', 'first-b-data');
stats.recordFrequency('foo', 'c');
stats.recordFrequency('bar', 'b');
- }, r'''
+ },
+ r'''
foo:
a: 2
first-a-data
@@ -68,7 +70,8 @@ void testRecordCounter() {
stats.recordCounter('bar', 'd');
stats.recordCounter('baz');
stats.recordCounter('baz');
- }, r'''
+ },
+ r'''
foo: 3
count=2 example=a
count=1 example=b
« no previous file with comments | « tests/compiler/dart2js/static_closure_test.dart ('k') | tests/compiler/dart2js/string_add_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698