| Index: pkg/analyzer/test/generated/source_factory_test.dart
|
| diff --git a/pkg/analyzer/test/generated/source_factory_test.dart b/pkg/analyzer/test/generated/source_factory_test.dart
|
| index e3ed1deeeba1599f670faf071c0e58c57491fcfc..c16f1f8f6e31aea1429bf116fc35cd25d3c503db 100644
|
| --- a/pkg/analyzer/test/generated/source_factory_test.dart
|
| +++ b/pkg/analyzer/test/generated/source_factory_test.dart
|
| @@ -182,6 +182,9 @@ foo:http://www.google.com
|
| isTrue);
|
| expect(utils.startsWith(Uri.parse('/foo/bar'), Uri.parse('/foo/b')),
|
| isFalse);
|
| + // Handle odd URIs (https://github.com/dart-lang/sdk/issues/24126)
|
| + expect(utils.startsWith(Uri.parse('/foo/bar'), Uri.parse('')), isFalse);
|
| + expect(utils.startsWith(Uri.parse(''), Uri.parse('/foo/bar')), isFalse);
|
| });
|
| });
|
| });
|
|
|