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

Unified Diff: tests/compiler/dart2js/erroneous_element_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
« no previous file with comments | « tests/compiler/dart2js/enumset_test.dart ('k') | tests/compiler/dart2js/error_token_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/erroneous_element_test.dart
diff --git a/tests/compiler/dart2js/erroneous_element_test.dart b/tests/compiler/dart2js/erroneous_element_test.dart
index 737f72178a1ae1ff69766cacf93af521060f2eb8..0fee336aa3b1fbc9328f0dc3e4b89a0f41c04ad0 100644
--- a/tests/compiler/dart2js/erroneous_element_test.dart
+++ b/tests/compiler/dart2js/erroneous_element_test.dart
@@ -4,15 +4,12 @@
import 'package:expect/expect.dart';
-import 'package:compiler/src/diagnostics/messages.dart'
- show MessageKind;
+import 'package:compiler/src/diagnostics/messages.dart' show MessageKind;
import 'package:compiler/src/elements/elements.dart';
-import 'package:compiler/src/elements/modelx.dart'
- show ErroneousElementX;
+import 'package:compiler/src/elements/modelx.dart' show ErroneousElementX;
void main() {
- ErroneousElement e = new ErroneousElementX(MessageKind.GENERIC,
- {'text': 'error'},
- 'foo', null);
+ ErroneousElement e = new ErroneousElementX(
+ MessageKind.GENERIC, {'text': 'error'}, 'foo', null);
Expect.stringEquals('<foo: error>', '$e');
}
« no previous file with comments | « tests/compiler/dart2js/enumset_test.dart ('k') | tests/compiler/dart2js/error_token_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698