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

Unified Diff: tests/try/poi/library_updater_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 | « tests/try/poi/diff_test.dart ('k') | tests/try/poi/poi_find_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/try/poi/library_updater_test.dart
diff --git a/tests/try/poi/library_updater_test.dart b/tests/try/poi/library_updater_test.dart
index dbaea15e9836f304e02d8623800a38423c5425da..8513442fa1003064dbe1bd3492d8dceea7fe95ac 100644
--- a/tests/try/poi/library_updater_test.dart
+++ b/tests/try/poi/library_updater_test.dart
@@ -23,7 +23,7 @@ void nolog(_) {}
Script newScriptFrom(LibraryElement library, String newSource) {
Script script = library.entryCompilationUnit.script;
return script.copyWithFile(
- new StringSourceFile(script.file.filename, newSource));
+ new StringSourceFile.fromUri(script.file.uri, newSource));
}
class LibraryUpdaterTestCase extends CompilerTestCase {
« no previous file with comments | « tests/try/poi/diff_test.dart ('k') | tests/try/poi/poi_find_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698