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

Unified Diff: tests/language/source_self_negative_test.dart

Issue 11316283: Eliminate old style import from language tests (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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/script_negative_test.dart ('k') | tests/language/string_escape1_negative_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/source_self_negative_test.dart
===================================================================
--- tests/language/source_self_negative_test.dart (revision 15598)
+++ tests/language/source_self_negative_test.dart (working copy)
@@ -4,9 +4,9 @@
// Dart test program importing the core library explicitly.
-#library("SourceSelfNegativeTest");
-#source("source_self_negative_test.dart");
+library SourceSelfNegativeTest;
+part "source_self_negative_test.dart"; // recursive reference to self.
main() {
- print('should not be able to #source a file with directives');
+ print('should not be able to recursively include self as library part');
}
« no previous file with comments | « tests/language/script_negative_test.dart ('k') | tests/language/string_escape1_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698