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

Unified Diff: tests/compiler/dart2js/link_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
Index: tests/compiler/dart2js/link_test.dart
diff --git a/tests/compiler/dart2js/link_test.dart b/tests/compiler/dart2js/link_test.dart
index 5ee61e4ba0068a091b6f6c4ed06682a3e50f78fe..841c89ff7fb9abaa1d5800c3ae2dcf5c92ee1ddc 100644
--- a/tests/compiler/dart2js/link_test.dart
+++ b/tests/compiler/dart2js/link_test.dart
@@ -8,9 +8,9 @@ import 'link_helper.dart';
main() {
test(const Link<Comparable>().prepend('three').prepend(2).prepend('one'),
- ['one', 2, 'three']);
+ ['one', 2, 'three']);
test(const Link<Comparable>().prepend(3).prepend('two').prepend(1),
- [1, 'two', 3]);
+ [1, 'two', 3]);
test(const Link<String>().prepend('single'), ['single']);
test(const Link(), []);
testFromList([]);
@@ -51,7 +51,7 @@ test(Link link, List list) {
testSkip() {
var nonEmptyLink = LinkFromList([0, 1, 2, 3, 4, 5]);
- for (int i = 0 ; i < 5; i++) {
+ for (int i = 0; i < 5; i++) {
var link = nonEmptyLink.skip(i);
Expect.isFalse(link.isEmpty);
Expect.equals(i, link.head);
« no previous file with comments | « tests/compiler/dart2js/line_column_provider_test.dart ('k') | tests/compiler/dart2js/list_tracer2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698