Index: pkg/path/test/windows_test.dart |
diff --git a/pkg/path/test/windows_test.dart b/pkg/path/test/windows_test.dart |
index 1966b7f341b42f3abd59cf870e43e249cc447042..e293be61abed50977baaec60048c7b828d70a5d0 100644 |
--- a/pkg/path/test/windows_test.dart |
+++ b/pkg/path/test/windows_test.dart |
@@ -503,6 +503,8 @@ main() { |
r'C:\path\to\foo#bar'); |
expect(builder.fromUri(Uri.parse('file://hostname/path/to/foo%23bar')), |
r'\\hostname\path\to\foo#bar'); |
+ expect(builder.fromUri(Uri.parse('_%7B_%7D_%60_%5E_%20_%22_%25_')), |
+ r'_{_}_`_^_ _"_%_'); |
expect(() => builder.fromUri(Uri.parse('http://dartlang.org')), |
throwsArgumentError); |
}); |
@@ -519,5 +521,9 @@ main() { |
Uri.parse('file:///C:/path/to/foo%23bar')); |
expect(builder.toUri(r'\\hostname\path\to\foo#bar'), |
Uri.parse('file://hostname/path/to/foo%23bar')); |
+ expect(builder.toUri(r'C:\_{_}_`_^_ _"_%_'), |
+ Uri.parse('file:///C:/_%7B_%7D_%60_%5E_%20_%22_%25_')); |
+ expect(builder.toUri(r'_{_}_`_^_ _"_%_'), |
+ Uri.parse('_%7B_%7D_%60_%5E_%20_%22_%25_')); |
}); |
} |