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

Unified Diff: tests/compiler/dart2js/related_types_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/related_types.dart ('k') | tests/compiler/dart2js/resolution_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/related_types_test.dart
diff --git a/tests/compiler/dart2js/related_types_test.dart b/tests/compiler/dart2js/related_types_test.dart
index 63b424a0eebdebccaaefdc9e67ba431ecd5358b6..f5209b2f6b1555c7147def5d79aa61e0fd0f848c 100644
--- a/tests/compiler/dart2js/related_types_test.dart
+++ b/tests/compiler/dart2js/related_types_test.dart
@@ -264,17 +264,17 @@ main(List<String> arguments) {
memorySourceFiles: {'main.dart': CODE},
options: [Flags.analyzeOnly, Flags.analyzeMain],
diagnosticHandler: collector);
- Expect.isFalse(collector.hasRegularMessages, "Unexpected analysis messages.");
+ Expect.isFalse(
+ collector.hasRegularMessages, "Unexpected analysis messages.");
Compiler compiler = result.compiler;
-
void checkMember(MemberElement member) {
if (!member.name.startsWith('test_')) return;
collector.clear();
checkMemberElement(compiler, member);
- Expect.equals(1, collector.hints.length,
- "Unexpected hint count for $member.");
+ Expect.equals(
+ 1, collector.hints.length, "Unexpected hint count for $member.");
Expect.equals(
MessageKind.NO_COMMON_SUBTYPES,
collector.hints.first.message.kind,
« no previous file with comments | « tests/compiler/dart2js/related_types.dart ('k') | tests/compiler/dart2js/resolution_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698