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

Unified Diff: tests/compiler/dart2js_native/native_window1_frog_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_native/native_window1_frog_test.dart
diff --git a/tests/compiler/dart2js_native/native_window1_frog_test.dart b/tests/compiler/dart2js_native/native_window1_frog_test.dart
index b0588ec78323f23daa419db5c9b98ad4310aba45..80c56cb4ad82e1a43710dbd71fc01adf8465649b 100644
--- a/tests/compiler/dart2js_native/native_window1_frog_test.dart
+++ b/tests/compiler/dart2js_native/native_window1_frog_test.dart
@@ -16,13 +16,11 @@ class _DOMWindowJs implements Window {
final int document;
}
-class Win implements Window {
-}
+class Win implements Window {}
main() {
// By typing this variable to 'Window', Frog will optimize calls on
// it.
Window win = new Win();
- Expect.throws(() => win.document,
- (e) => e is NoSuchMethodError);
+ Expect.throws(() => win.document, (e) => e is NoSuchMethodError);
}

Powered by Google App Engine
This is Rietveld 408576698