Skip to content

Commit

Permalink
Fix, test
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoegh committed Oct 22, 2015
1 parent a9780eb commit 97acdd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/file.jl
Original file line number Diff line number Diff line change
Expand Up @@ -859,8 +859,8 @@ end
# walkdir #
###################

walkdir = mktempdir()
cd(dir) do
dirwalk = mktempdir()
cd(dirwalk) do
for i=1:2
mkdir("sub_dir$i")
open("file$i", "w") do f end
Expand Down Expand Up @@ -954,7 +954,7 @@ cd(dir) do
@test files == ["file_dir2"]

end
@unix_only rm(walkdir, recursive=true)
@unix_only rm(dirwalk, recursive=true)

############
# Clean up #
Expand Down

0 comments on commit 97acdd8

Please sign in to comment.