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

Unified Diff: tests/language/src/NamedParametersTypeTest.dart

Issue 9649015: Change string used to annotate static type issues to 'static type warning' in multitest (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merged up to tip Created 8 years, 9 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/language/src/ImplicitThisTest.dart ('k') | tests/language/src/OverrideFieldTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/NamedParametersTypeTest.dart
diff --git a/tests/language/src/NamedParametersTypeTest.dart b/tests/language/src/NamedParametersTypeTest.dart
index 8d0e48c22bc102125420d6650cf83be44e7afcfa..e0c730908aad16ee8733ad68e2e5ca5b1fcd14c4 100644
--- a/tests/language/src/NamedParametersTypeTest.dart
+++ b/tests/language/src/NamedParametersTypeTest.dart
@@ -21,14 +21,14 @@ class NamedParametersTypeTest {
acceptFunNumOptBool(funNum); // No error.
acceptFunNumOptBool(funNumOptBool); // No error.
try {
- acceptFunNumOptBool(funNumBool); /// static type error
+ acceptFunNumOptBool(funNumBool); /// static type warning
} catch (TypeError error) {
result += 1;
Expect.stringEquals("(num, [b: bool]) => void", error.dstType);
Expect.stringEquals("(num, bool) => void", error.srcType);
}
try {
- acceptFunNumOptBool(funNumOptBoolX); /// static type error
+ acceptFunNumOptBool(funNumOptBoolX); /// static type warning
} catch (TypeError error) {
result += 10;
Expect.stringEquals("(num, [b: bool]) => void", error.dstType);
« no previous file with comments | « tests/language/src/ImplicitThisTest.dart ('k') | tests/language/src/OverrideFieldTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698