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

Unified Diff: tests/lib/convert/json_chunk_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/convert/json_chunk_test.dart
diff --git a/tests/lib/convert/json_chunk_test.dart b/tests/lib/convert/json_chunk_test.dart
index 28e92977913fe95ec8f44f3b2b1d8214d822a50b..d987d389639a742dd28932410f8b982d9ca459ac 100644
--- a/tests/lib/convert/json_chunk_test.dart
+++ b/tests/lib/convert/json_chunk_test.dart
@@ -23,8 +23,9 @@ jsonThrowsTest(testName, action(sink)) {
Expect.fail("Should have thrown: $testName");
});
var decoderSink = JSON.decoder.startChunkedConversion(sink);
- Expect.throws(() { action(decoderSink); }, (e) => e is FormatException,
- testName);
+ Expect.throws(() {
+ action(decoderSink);
+ }, (e) => e is FormatException, testName);
}
main() {
@@ -90,6 +91,7 @@ void testNumbers() {
}
}
}
+
for (var sign in ["-", ""]) {
for (var intPart in ["0", "1", "99"]) {
for (var decimalPoint in [".", ""]) {

Powered by Google App Engine
This is Rietveld 408576698