Index: sdk/lib/_internal/pub/test/install/git/dependency_name_match_pubspec_test.dart |
diff --git a/sdk/lib/_internal/pub/test/install/git/dependency_name_match_pubspec_test.dart b/sdk/lib/_internal/pub/test/install/git/dependency_name_match_pubspec_test.dart |
index 2d4fef92d44508fa0082efb85e5b27909781a98b..c9cb092223ea1cb50cfa51b38845fb1be0f75990 100644 |
--- a/sdk/lib/_internal/pub/test/install/git/dependency_name_match_pubspec_test.dart |
+++ b/sdk/lib/_internal/pub/test/install/git/dependency_name_match_pubspec_test.dart |
@@ -24,8 +24,7 @@ main() { |
}) |
]).create(); |
- pubInstall(error: |
- 'The name you specified for your dependency, "weirdname", doesn\'t ' |
- 'match the name "foo" in its pubspec.'); |
+ pubInstall(error: new RegExp(r'"name" field "foo" doesn' "'" r't match ' |
+ r'expected name "weirdname"\.')); |
}); |
} |