Index: sdk/lib/_internal/pub/test/serve/fails_to_load_a_transform_from_a_non_dependency_test.dart |
diff --git a/sdk/lib/_internal/pub/test/serve/fails_to_load_a_transform_from_a_non_dependency_test.dart b/sdk/lib/_internal/pub/test/serve/fails_to_load_a_transform_from_a_non_dependency_test.dart |
index 57c3349a15bccac1df15095acc7b9e1edb5392a6..c6c385785623c114bfe76a959886b6181d11d8d9 100644 |
--- a/sdk/lib/_internal/pub/test/serve/fails_to_load_a_transform_from_a_non_dependency_test.dart |
+++ b/sdk/lib/_internal/pub/test/serve/fails_to_load_a_transform_from_a_non_dependency_test.dart |
@@ -22,8 +22,8 @@ main() { |
var pub = startPub(args: ['serve', '--port=0']); |
// Ignore the line containing the path to the pubspec. |
expect(pub.nextErrLine(), completes); |
- expect(pub.nextErrLine(), |
- completion(equals('Could not find package for transformer "foo".'))); |
+ expect(pub.nextErrLine(), completion(equals('"transformers.foo" refers to ' |
+ 'a package that\'s not listed in "dependencies".'))); |
pub.shouldExit(1); |
}); |
} |