Index: sdk/lib/_internal/pub/test/update/git/update_to_incompatible_pubspec_test.dart |
diff --git a/sdk/lib/_internal/pub/test/update/git/update_to_incompatible_pubspec_test.dart b/sdk/lib/_internal/pub/test/update/git/update_to_incompatible_pubspec_test.dart |
index df398debae6fdc533f2338213fa975f2f4d797b6..645646af804429cbe31eb2c5900697730447121a 100644 |
--- a/sdk/lib/_internal/pub/test/update/git/update_to_incompatible_pubspec_test.dart |
+++ b/sdk/lib/_internal/pub/test/update/git/update_to_incompatible_pubspec_test.dart |
@@ -32,8 +32,8 @@ main() { |
d.libPubspec('zoo', '1.0.0') |
]).commit(); |
- pubUpdate(error: 'The name you specified for your dependency, ' |
- '"foo", doesn\'t match the name "zoo" in its pubspec.'); |
+ pubUpdate(error: new RegExp(r'"name" field "zoo" doesn' "'" r't match ' |
+ r'expected name "foo"\.')); |
d.dir(packagesPath, [ |
d.dir('foo', [ |