Index: utils/tests/pub/path/path_windows_test.dart |
diff --git a/utils/tests/pub/path/path_windows_test.dart b/utils/tests/pub/path/path_windows_test.dart |
index 0d2d3f11e7bfad16b66c07d6c5b9953734ffa822..fdad9b02655549e9151885939acb382f02c982e3 100644 |
--- a/utils/tests/pub/path/path_windows_test.dart |
+++ b/utils/tests/pub/path/path_windows_test.dart |
@@ -172,9 +172,12 @@ main() { |
group('split', () { |
test('simple cases', () { |
+ expect(builder.split(''), []); |
+ expect(builder.split('.'), ['.']); |
+ expect(builder.split('..'), ['..']); |
expect(builder.split('foo'), equals(['foo'])); |
- expect(builder.split(r'foo\bar'), equals(['foo', 'bar'])); |
- expect(builder.split(r'foo\bar\baz'), equals(['foo', 'bar', 'baz'])); |
+ expect(builder.split(r'foo\bar.txt'), equals(['foo', 'bar.txt'])); |
+ expect(builder.split(r'foo\bar/baz'), equals(['foo', 'bar', 'baz'])); |
expect(builder.split(r'foo\..\bar\.\baz'), |
equals(['foo', '..', 'bar', '.', 'baz'])); |
expect(builder.split(r'foo\\bar\\\baz'), equals(['foo', 'bar', 'baz'])); |