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

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

Issue 46563002: Fix suggestions about using init.dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
« pkg/polymer/lib/boot.js ('K') | « pkg/polymer/lib/src/build/linter.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/linter_test.dart
diff --git a/pkg/polymer/test/build/linter_test.dart b/pkg/polymer/test/build/linter_test.dart
index 1e216e18186671d320009508f9c1b4f7679eeb57..6cd294a5bcc21eefb9f369a40cc1d61d36cb3fff 100644
--- a/pkg/polymer/test/build/linter_test.dart
+++ b/pkg/polymer/test/build/linter_test.dart
@@ -20,10 +20,10 @@ void main() {
'a|lib/test.html.messages': ''
});
- group('must use init.dart, dart.js, not boot.js', () {
+ group('must have Dart code to invoke initPolymer, dart.js, not boot.js', () {
_testLinter('nothing to report', {
'a|web/test.html': '<!DOCTYPE html><html>'
- '<script type="application/dart" src="packages/polymer/init.dart">'
+ '<script type="application/dart" src="foo.dart">'
'</script>'
'<script src="packages/browser/dart.js"></script>'
'</html>',
@@ -31,7 +31,7 @@ void main() {
'a|web/test.html.messages': '',
});
- _testLinter('missing init.dart and dart.js', {
+ _testLinter('missing Dart code and dart.js', {
'a|web/test.html': '<!DOCTYPE html><html></html>',
}, {
'a|web/test.html.messages': 'error: $USE_INIT_DART\n'
@@ -41,7 +41,7 @@ void main() {
_testLinter('using deprecated boot.js', {
'a|web/test.html': '<!DOCTYPE html><html>\n'
'<script src="packages/polymer/boot.js"></script>'
- '<script type="application/dart" src="packages/polymer/init.dart">'
+ '<script type="application/dart" src="foo.dart">'
'</script>'
'<script src="packages/browser/dart.js"></script>'
'</html>',
« pkg/polymer/lib/boot.js ('K') | « pkg/polymer/lib/src/build/linter.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698