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

Unified Diff: tests/lib_strong/html/typed_arrays_dataview_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_dataview_test.dart
diff --git a/tests/lib_strong/html/typed_arrays_dataview_test.dart b/tests/lib_strong/html/typed_arrays_dataview_test.dart
index cd78a4064153c4d795d1d491f1a3e3cac8cd71cb..0eea16b6352970fa70ce6741c2e2a0ea71266ba2 100644
--- a/tests/lib_strong/html/typed_arrays_dataview_test.dart
+++ b/tests/lib_strong/html/typed_arrays_dataview_test.dart
@@ -18,7 +18,7 @@ main() {
expect(bd.lengthInBytes, 100);
expect(bd.offsetInBytes, 0);
- var a1 = new Uint8List.fromList([1,2,3,4,5,6,7,8]);
+ var a1 = new Uint8List.fromList([1, 2, 3, 4, 5, 6, 7, 8]);
var bd2 = new ByteData.view(a1.buffer);
expect(bd2.lengthInBytes, 8);
@@ -34,7 +34,7 @@ main() {
});
test('access8', () {
- var a1 = new Uint8List.fromList([0,0,3,255,0,0,0,0,0,0]);
+ var a1 = new Uint8List.fromList([0, 0, 3, 255, 0, 0, 0, 0, 0, 0]);
var bd = new ByteData.view(a1.buffer, 2, 6);
@@ -53,7 +53,7 @@ main() {
});
test('access16', () {
- var a1 = new Uint8List.fromList([0,0,3,255,0,0,0,0,0,0]);
+ var a1 = new Uint8List.fromList([0, 0, 3, 255, 0, 0, 0, 0, 0, 0]);
var bd = new ByteData.view(a1.buffer, 2);
@@ -73,7 +73,7 @@ main() {
});
test('access32', () {
- var a1 = new Uint8List.fromList([0,0,3,255,0,0,0,0,0,0]);
+ var a1 = new Uint8List.fromList([0, 0, 3, 255, 0, 0, 0, 0, 0, 0]);
var bd = new ByteData.view(a1.buffer);
@@ -85,5 +85,4 @@ main() {
expect(bd.getUint32(0, Endianness.BIG_ENDIAN), equals(1023));
expect(bd.getUint32(0, Endianness.LITTLE_ENDIAN), equals(0xFF030000));
});
-
}

Powered by Google App Engine
This is Rietveld 408576698