We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
Possible workaround:
diff --git a/t/zzz-spec.t b/t/zzz-spec.t index 2452159..da2b8d5 100644 --- a/t/zzz-spec.t +++ b/t/zzz-spec.t @@ -80,20 +80,13 @@ if ($IS_WIN32) { [ "path('\\d1','\\d2')", '/d1/d2' ], [ "path('\\d1','\\d2\\')", '/d1/d2' ], [ "path('d1','d2','d3')", 'd1/d2/d3' ], - [ "path('A:/d1','d2','d3')", 'A:/d1/d2/d3' ], - [ "path('A:/')", 'A:/' ], [ "path('\\', 'foo')", '/foo' ], - [ "path('A:', 'foo')", 'A:/foo' ], [ "path('a','b','c')", 'a/b/c' ], [ "path('a','b','.\\c')", 'a/b/c' ], [ "path('.\\a','b','c')", 'a/b/c' ], [ "path('c')", 'c' ], [ "path('.\\c')", 'c' ], [ "path('a/..','../b')", '../b' ], - [ "path('A:', 'foo')", 'A:/foo' ], - [ "path('a:/')", 'A:/' ], - [ "path('A:f')", 'A:/f' ], - [ "path('A:/')", 'A:/' ], [ "path('a\\..\\..\\b\\c')", '../b/c' ], [ "path('//a\\b//c')", '//a/b/c' ], [ "path('/a/..../c')", '/a/..../c' ], @@ -121,6 +114,17 @@ if ($IS_WIN32) { [ "path('//server/share')", '//server/share/' ], [ "path('//d1','d2')", '//d1/d2/' ], ); + # These test require no "A:" drive mapped + if ( Cwd::getdcwd("A:") eq '' ) { + push @win32_tests, + [ "path('A:/d1','d2','d3')", 'A:/d1/d2/d3' ], + [ "path('A:/')", 'A:/' ], + [ "path('A:', 'foo')", 'A:/foo' ], + [ "path('A:', 'foo')", 'A:/foo' ], + [ "path('A:f')", 'A:/f' ], + [ "path('A:/')", 'A:/' ], + [ "path('a:/')", 'A:/' ],; + } } # XXX not sure how to adapt this sanely for use with Path::Tiny testing, so
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: