Skip to content

Commit

Permalink
Error throwing test for mkpath
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt committed Jun 7, 2016
1 parent 7ca496d commit da8dd8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/file.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1109,3 +1109,4 @@ function test_13559()
end
test_13559()
end
@test_throws ArgumentError mkpath("fakepath",-1)
2 changes: 1 addition & 1 deletion test/sysinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sprint(Base.Sys.cpu_summary)
@test Base.Sys.uptime() > 0
Base.Sys.loadavg()

@test !("fakename" keys(ENV))
@test !("f=a=k=e=n=a=m=e" keys(ENV))

# issue #10994
@test_throws ArgumentError ENV["bad\0name"] = "ok"
Expand Down

0 comments on commit da8dd8d

Please sign in to comment.