Chromium Code Reviews| Index: tests/corelib/uri_test.dart |
| diff --git a/tests/corelib/uri_test.dart b/tests/corelib/uri_test.dart |
| index c2c8286c7e84e806b0ecdee496d6360aa53a6b62..7971256c10883d47091f05ed4251804376d89382 100644 |
| --- a/tests/corelib/uri_test.dart |
| +++ b/tests/corelib/uri_test.dart |
| @@ -425,6 +425,11 @@ void testReplace() { |
| } |
| } |
| } |
| + |
| + // Regression test, http://dartbug.com/20814 |
| + var uri = Uri.parse("/no-authorty/"); |
|
kasperl
2014/09/09 11:07:04
Is the typo intentional?
Lasse Reichstein Nielsen
2014/09/09 11:08:49
Nope, well spotted.
It is, however, also complete
|
| + uri = uri.replace(fragment: "fragment"); |
| + Expect.isFalse(uri.hasAuthority); |
| } |
| main() { |