Index: pkg/path/test/posix_test.dart |
diff --git a/pkg/path/test/posix_test.dart b/pkg/path/test/posix_test.dart |
index 3afb3bb88d67e3cd35d498df41519cb0bc7e8986..20363930612c2f7e5db0997e8fb2bd751120eecb 100644 |
--- a/pkg/path/test/posix_test.dart |
+++ b/pkg/path/test/posix_test.dart |
@@ -31,6 +31,8 @@ main() { |
expect(builder.extension('a.b/c.d'), '.d'); |
expect(builder.extension('~/.bashrc'), ''); |
expect(builder.extension(r'a.b\c'), r'.b\c'); |
+ expect(builder.extension('foo.dart/'), '.dart'); |
+ expect(builder.extension('foo.dart//'), '.dart'); |
}); |
test('rootPrefix', () { |