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

Unified Diff: tests/try/poi/diff_test.dart

Issue 927563002: Fix hidden try tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 | « no previous file | tests/try/poi/library_updater_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/try/poi/diff_test.dart
diff --git a/tests/try/poi/diff_test.dart b/tests/try/poi/diff_test.dart
index eaf9c1c5cfee340194a29c290a491ec3294cfc8b..33cffb51b9f3bc2d61bdc33c46fc92396efa66ef 100644
--- a/tests/try/poi/diff_test.dart
+++ b/tests/try/poi/diff_test.dart
@@ -79,7 +79,8 @@ Future<List<Difference>> testDifference(
Future<LibraryElement> future = compiler.libraryLoader.loadLibrary(scriptUri);
return future.then((LibraryElement library) {
Script sourceScript = new Script(
- scriptUri, scriptUri, new StringSourceFile('$scriptUri', afterSource));
+ scriptUri, scriptUri,
+ new StringSourceFile.fromUri(scriptUri, afterSource));
var dartPrivacyIsBroken = compiler.libraryLoader;
LibraryElement newLibrary = dartPrivacyIsBroken.createLibrarySync(
null, sourceScript, scriptUri);
« no previous file with comments | « no previous file | tests/try/poi/library_updater_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698