| Index: tests/corelib/uri_test.dart
|
| diff --git a/tests/corelib/uri_test.dart b/tests/corelib/uri_test.dart
|
| index a9166be3c11d0dd205f6be6fbfef99b9e504cc00..3d24e2daa9bea2b13edaf0f5a1804216a5b67247 100644
|
| --- a/tests/corelib/uri_test.dart
|
| +++ b/tests/corelib/uri_test.dart
|
| @@ -32,6 +32,11 @@ testUri(String uriText, bool isAbsolute) {
|
| Expect.equals(uri,
|
| Uri.parse(uriText + "#fragment").removeFragment());
|
| }
|
| +
|
| + // Test uri.replace on uri with fragment
|
| + uri = Uri.parse('http://hello.com/fake#fragment');
|
| + uri = uri.replace(path: "D/E/E");
|
| + Expect.stringEquals('http://hello.com/D/E/E#fragment', uri.toString());
|
| }
|
|
|
| testEncodeDecode(String orig, String encoded) {
|
|
|