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

Unified Diff: tests/language/library_juxtaposition_test.dart

Issue 11412147: Fix a type annotation in the parser to make it accept non-literal strings as part URIs in checked m… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix import and add a test. 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/library_juxtaposition_part.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/library_juxtaposition_test.dart
diff --git a/tests/language/patch_test.dart b/tests/language/library_juxtaposition_test.dart
similarity index 76%
copy from tests/language/patch_test.dart
copy to tests/language/library_juxtaposition_test.dart
index cd2f17eff693747a9487975c3ded710c087c4550..ee1e7b4907fa4cce46ec74629b20e94ba1e66dcf 100644
--- a/tests/language/patch_test.dart
+++ b/tests/language/library_juxtaposition_test.dart
@@ -2,11 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-patch() {
- return 12;
-}
+import "library_" "juxtaposition_" "lib.dart";
main() {
- var x = patch();
- Expect.equals(12, x);
+ Expect.equals(c, 47);
}
« no previous file with comments | « tests/language/library_juxtaposition_part.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698