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

Unified Diff: tests/lib_strong/html/typed_arrays_3_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/lib_strong/html/typed_arrays_3_test.dart
diff --git a/tests/lib_strong/html/typed_arrays_3_test.dart b/tests/lib_strong/html/typed_arrays_3_test.dart
index b465a99baf2411bd5a1f89273307c33ecdba5fca..7a07f86366a6a5937f01ec36008c142b6a0a56b5 100644
--- a/tests/lib_strong/html/typed_arrays_3_test.dart
+++ b/tests/lib_strong/html/typed_arrays_3_test.dart
@@ -14,30 +14,30 @@ main() {
}
test('setElementsTest_dynamic', () {
- var a1 = new Int8List(1024);
+ var a1 = new Int8List(1024);
- a1.setRange(4, 7, [0x50,0x60,0x70]);
+ a1.setRange(4, 7, [0x50, 0x60, 0x70]);
- var a2 = new Uint32List.view(a1.buffer);
- expect(a2[0], 0x00000000);
- expect(a2[1], 0x00706050);
+ var a2 = new Uint32List.view(a1.buffer);
+ expect(a2[0], 0x00000000);
+ expect(a2[1], 0x00706050);
- a2.setRange(2, 3, [0x01020304]);
- expect(a1[8], 0x04);
- expect(a1[11], 0x01);
+ a2.setRange(2, 3, [0x01020304]);
+ expect(a1[8], 0x04);
+ expect(a1[11], 0x01);
});
test('setElementsTest_typed', () {
- Int8List a1 = new Int8List(1024);
+ Int8List a1 = new Int8List(1024);
- a1.setRange(4, 7, [0x50,0x60,0x70]);
+ a1.setRange(4, 7, [0x50, 0x60, 0x70]);
- Uint32List a2 = new Uint32List.view(a1.buffer);
- expect(a2[0], 0x00000000);
- expect(a2[1], 0x00706050);
+ Uint32List a2 = new Uint32List.view(a1.buffer);
+ expect(a2[0], 0x00000000);
+ expect(a2[1], 0x00706050);
- a2.setRange(2, 3, [0x01020304]);
- expect(a1[8], 0x04);
- expect(a1[11], 0x01);
+ a2.setRange(2, 3, [0x01020304]);
+ expect(a1[8], 0x04);
+ expect(a1[11], 0x01);
});
}

Powered by Google App Engine
This is Rietveld 408576698