| 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 6c7474232da35887300307eb77d900c54330ad1f..1861a675b981ccdf723b6bea0b375bf6db159b96 100644
|
| --- a/utils/tests/pub/path/path_windows_test.dart
|
| +++ b/utils/tests/pub/path/path_windows_test.dart
|
| @@ -254,7 +254,12 @@ main() {
|
| });
|
| });
|
|
|
| - test('given absolute with differnt root prefix', () {
|
| + test('from a root with extension', () {
|
| + var r = new path.Builder(style: path.Style.windows, root: r'C:\dir.ext');
|
| + expect(r.relative(r'C:\dir.ext\file'), 'file');
|
| + });
|
| +
|
| + test('given absolute with different root prefix', () {
|
| expect(builder.relative(r'D:\a\b'), r'D:\a\b');
|
| expect(builder.relative(r'\\a\b'), r'\\a\b');
|
| });
|
| @@ -301,5 +306,6 @@ main() {
|
| expect(builder.withoutExtension(r'a/b.c/d'), r'a/b.c/d');
|
| expect(builder.withoutExtension(r'a\b/c'), r'a\b/c');
|
| expect(builder.withoutExtension(r'a\b/c.d'), r'a\b/c');
|
| + expect(builder.withoutExtension(r'a.b/c'), r'a.b/c');
|
| });
|
| }
|
|
|