Index: utils/tests/pub/path/path_posix_test.dart |
diff --git a/utils/tests/pub/path/path_posix_test.dart b/utils/tests/pub/path/path_posix_test.dart |
index 085471be000b713cac532ac2f2efa0287dc2e5c7..60ed65afa761ea698ba19e883dede691423529e4 100644 |
--- a/utils/tests/pub/path/path_posix_test.dart |
+++ b/utils/tests/pub/path/path_posix_test.dart |
@@ -153,8 +153,11 @@ main() { |
group('split', () { |
test('simple cases', () { |
+ expect(builder.split(''), []); |
+ expect(builder.split('.'), ['.']); |
+ expect(builder.split('..'), ['..']); |
expect(builder.split('foo'), equals(['foo'])); |
- expect(builder.split('foo/bar'), equals(['foo', 'bar'])); |
+ expect(builder.split('foo/bar.txt'), equals(['foo', 'bar.txt'])); |
expect(builder.split('foo/bar/baz'), equals(['foo', 'bar', 'baz'])); |
expect(builder.split('foo/../bar/./baz'), |
equals(['foo', '..', 'bar', '.', 'baz'])); |