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

Unified Diff: pkg/polymer/test/build/script_compactor_test.dart

Issue 569403003: update tests to use error message templates everywhere instead of hardcoded values (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « pkg/polymer/test/build/linter_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/build/script_compactor_test.dart
diff --git a/pkg/polymer/test/build/script_compactor_test.dart b/pkg/polymer/test/build/script_compactor_test.dart
index 9d98debbe135fa218b57ab5face602c889006969..3e844d557b05e58b666b75d066ea3982abd4ed5d 100644
--- a/pkg/polymer/test/build/script_compactor_test.dart
+++ b/pkg/polymer/test/build/script_compactor_test.dart
@@ -173,8 +173,8 @@ initializerTests(phases) {
'}\n'
'main(){}',
}, {}, [
- 'warning: The parameter to @CustomTag seems to be invalid. '
- '(web/a.dart 2 11)',
+ 'warning: ${INVALID_ANNOTATION_ARGUMENT.create(
+ {'name': 'CustomTag'}).snippet} (web/a.dart 2 11)',
]);
testPhases(
@@ -503,8 +503,8 @@ initializerTestsExperimental(phases) {
'}\n'
'main(){}',
}, {}, [
- 'warning: The parameter to @CustomTag seems to be invalid. '
- '(web/a.dart 2 11)',
+ 'warning: ${INVALID_ANNOTATION_ARGUMENT.create(
+ {'name': 'CustomTag'}).snippet} (web/a.dart 2 11)',
'warning: ${NO_INITIALIZATION.snippet}',
]);
« no previous file with comments | « pkg/polymer/test/build/linter_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698