@@ -21,18 +21,21 @@ assert.strictEqual(path.win32.dirname('c:\\foo\\'), 'c:\\');
2121assert . strictEqual ( path . win32 . dirname ( 'c:\\foo\\bar' ) , 'c:\\foo' ) ;
2222assert . strictEqual ( path . win32 . dirname ( 'c:\\foo\\bar\\' ) , 'c:\\foo' ) ;
2323assert . strictEqual ( path . win32 . dirname ( 'c:\\foo\\bar\\baz' ) , 'c:\\foo\\bar' ) ;
24+ assert . strictEqual ( path . win32 . dirname ( 'c:\\foo bar\\baz' ) , 'c:\\foo bar' ) ;
2425assert . strictEqual ( path . win32 . dirname ( '\\' ) , '\\' ) ;
2526assert . strictEqual ( path . win32 . dirname ( '\\foo' ) , '\\' ) ;
2627assert . strictEqual ( path . win32 . dirname ( '\\foo\\' ) , '\\' ) ;
2728assert . strictEqual ( path . win32 . dirname ( '\\foo\\bar' ) , '\\foo' ) ;
2829assert . strictEqual ( path . win32 . dirname ( '\\foo\\bar\\' ) , '\\foo' ) ;
2930assert . strictEqual ( path . win32 . dirname ( '\\foo\\bar\\baz' ) , '\\foo\\bar' ) ;
31+ assert . strictEqual ( path . win32 . dirname ( '\\foo bar\\baz' ) , '\\foo bar' ) ;
3032assert . strictEqual ( path . win32 . dirname ( 'c:' ) , 'c:' ) ;
3133assert . strictEqual ( path . win32 . dirname ( 'c:foo' ) , 'c:' ) ;
3234assert . strictEqual ( path . win32 . dirname ( 'c:foo\\' ) , 'c:' ) ;
3335assert . strictEqual ( path . win32 . dirname ( 'c:foo\\bar' ) , 'c:foo' ) ;
3436assert . strictEqual ( path . win32 . dirname ( 'c:foo\\bar\\' ) , 'c:foo' ) ;
3537assert . strictEqual ( path . win32 . dirname ( 'c:foo\\bar\\baz' ) , 'c:foo\\bar' ) ;
38+ assert . strictEqual ( path . win32 . dirname ( 'c:foo bar\\baz' ) , 'c:foo bar' ) ;
3639assert . strictEqual ( path . win32 . dirname ( 'file:stream' ) , '.' ) ;
3740assert . strictEqual ( path . win32 . dirname ( 'dir\\file:stream' ) , 'dir' ) ;
3841assert . strictEqual ( path . win32 . dirname ( '\\\\unc\\share' ) ,
0 commit comments