diff --git a/spec/std/dir_spec.cr b/spec/std/dir_spec.cr index 0abe320d0165..5a0394d0599a 100644 --- a/spec/std/dir_spec.cr +++ b/spec/std/dir_spec.cr @@ -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