| Index: tests/corelib/uri_test.dart
|
| diff --git a/tests/corelib/uri_test.dart b/tests/corelib/uri_test.dart
|
| index 3e66ac9a085b6d542d5dabcae23dd1842c43dccf..19d4019a875629fdd1feaadf7364630b37806561 100644
|
| --- a/tests/corelib/uri_test.dart
|
| +++ b/tests/corelib/uri_test.dart
|
| @@ -256,4 +256,9 @@ main() {
|
| testEncodeDecodeQueryComponent("A + B", "A+%2B+B", "A+%2B+B", "A+%2B+B");
|
| testEncodeDecodeQueryComponent(
|
| "æ ø å", "%C3%A6+%C3%B8+%C3%A5", "%E6+%F8+%E5", null);
|
| +
|
| + // Invalid URI - : and @ is swapped, port ("host") should be numeric.
|
| + Expect.throws(
|
| + () => Uri.parse("file://user@password:host/path"),
|
| + (e) => e is FormatException);
|
| }
|
|
|