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..4d830edd918c99c9fd8a10807a10cbf400460b18 100644 |
--- a/pkg/path/test/windows_test.dart |
+++ b/pkg/path/test/windows_test.dart |
@@ -35,6 +35,8 @@ main() { |
expect(builder.extension('a.b/c.d'), '.d'); |
expect(builder.extension(r'~\.bashrc'), ''); |
expect(builder.extension(r'a.b/c'), r''); |
+ expect(builder.extension(r'foo.dart\'), '.dart'); |
+ expect(builder.extension(r'foo.dart\\'), '.dart'); |
}); |
test('rootPrefix', () { |