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); |