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

Unified Diff: tests/standalone/io/read_into_const_list_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/standalone/io/read_into_const_list_test.dart
diff --git a/tests/standalone/io/read_into_const_list_test.dart b/tests/standalone/io/read_into_const_list_test.dart
index 11e56ce23efd623399a975a5bc18f929639cfe80..54a2919ccd3f89c453377f99dbead54988aa94e6 100644
--- a/tests/standalone/io/read_into_const_list_test.dart
+++ b/tests/standalone/io/read_into_const_list_test.dart
@@ -22,14 +22,14 @@ void main() {
String filename = getFilename("readline_test1.dat");
File file = new File(filename);
file.open().then((input) {
- try {
- input.readIntoSync(a, 0, 1);
- Expect.fail("no exception thrown");
- } catch (e) {
- Expect.isTrue(e is UnsupportedError);
- }
- Expect.equals(0, a[0]);
- Expect.equals(0, b[0]);
- input.closeSync();
- });
+ try {
+ input.readIntoSync(a, 0, 1);
+ Expect.fail("no exception thrown");
+ } catch (e) {
+ Expect.isTrue(e is UnsupportedError);
+ }
+ Expect.equals(0, a[0]);
+ Expect.equals(0, b[0]);
+ input.closeSync();
+ });
}

Powered by Google App Engine
This is Rietveld 408576698