Skip to content

Commit

Permalink
Fix Dir.current spec for win32
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Apr 22, 2020
1 parent b179b95 commit 18db973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/std/dir_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ describe "Dir" do
end
end

pending_win32 ".current" do
Dir.current.should eq(`#{{{ flag?(:win32) ? "cd" : "pwd" }}}`.chomp)
it ".current" do
Dir.current.should eq(`#{{{ flag?(:win32) ? "cmd /c cd" : "pwd" }}}`.chomp)
end

describe ".tempdir" do
Expand Down

0 comments on commit 18db973

Please sign in to comment.