Index: tests/try/poi/poi_find_test.dart |
diff --git a/tests/try/poi/poi_find_test.dart b/tests/try/poi/poi_find_test.dart |
index 496697a01e3d5dbe5ea97b90ae40469fa7261c90..af4bec73051539e1dd2ab442a7632ccaa018314a 100644 |
--- a/tests/try/poi/poi_find_test.dart |
+++ b/tests/try/poi/poi_find_test.dart |
@@ -35,7 +35,7 @@ Future testPoi() { |
Expect.stringEquals('$script', '$foundScript'); |
Expect.stringEquals('main', element.name); |
- String source = handler.provider.sourceFiles['$script'].slowText(); |
+ String source = handler.provider.sourceFiles[script].slowText(); |
final int position = source.indexOf('main()'); |
Expect.isTrue(position > 0, '$position > 0'); |