Index: pkg/front_end/test/src/incremental/kernel_driver_test.dart |
diff --git a/pkg/front_end/test/src/incremental/kernel_driver_test.dart b/pkg/front_end/test/src/incremental/kernel_driver_test.dart |
index d495e47c31dc44781e3c8cc3fd92e56d60a8418d..f4de69e90973955076e8f452fa32414ce5f50d5d 100644 |
--- a/pkg/front_end/test/src/incremental/kernel_driver_test.dart |
+++ b/pkg/front_end/test/src/incremental/kernel_driver_test.dart |
@@ -108,31 +108,15 @@ static method main() → void {} |
String aPath = '/test/lib/a.dart'; |
String bPath = '/test/lib/b.dart'; |
String cPath = '/test/lib/c.dart'; |
- String dPath = '/test/lib/d.dart'; |
writeFile(aPath, 'class A {}'); |
- Uri bUri = writeFile(bPath, 'export "a.dart";'); |
- Uri cUri = writeFile(cPath, 'export "b.dart";'); |
- Uri dUri = writeFile(dPath, r''' |
-import 'c.dart'; |
+ writeFile(bPath, 'export "a.dart";'); |
+ Uri cUri = writeFile(cPath, r''' |
+import 'b.dart'; |
A a; |
'''); |
- KernelResult result = await driver.getKernel(dUri); |
- Library library = _getLibrary(result, dUri); |
- expect(_getLibraryText(_getLibrary(result, bUri)), r''' |
-library; |
-import self as self; |
-import "./a.dart" as a; |
-additionalExports = (a::A) |
- |
-'''); |
- expect(_getLibraryText(_getLibrary(result, cUri)), r''' |
-library; |
-import self as self; |
-import "./a.dart" as a; |
-additionalExports = (a::A) |
- |
-'''); |
+ KernelResult result = await driver.getKernel(cUri); |
+ Library library = _getLibrary(result, cUri); |
expect(_getLibraryText(library), r''' |
library; |
import self as self; |