| Index: utils/tests/pub/test_pub.dart
|
| diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
|
| index accfaa454bb28c9cf0fd5ab8f4b3d5e3e2bc7fd2..3a64e0575f0fd88d096067a38e227dded73c0e23 100644
|
| --- a/utils/tests/pub/test_pub.dart
|
| +++ b/utils/tests/pub/test_pub.dart
|
| @@ -409,7 +409,7 @@ String _packageName(String sourceName, description) {
|
| switch (sourceName) {
|
| case "git":
|
| var url = description is String ? description : description['url'];
|
| - return basename(url.replaceFirst(const RegExp(@"(\.git)?/?$"), ""));
|
| + return basename(url.replaceFirst(const RegExp(r"(\.git)?/?$"), ""));
|
| case "hosted":
|
| if (description is String) return description;
|
| return description['name'];
|
|
|