Skip to content

Commit

Permalink
fixup! mktempdir: support user-defined prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed Mar 4, 2019
1 parent 5670108 commit 8661f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/file.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ end
end
end
# Special character prefix tests
for tst_prefix in ("ABCDEF", "./pfx", ".\\pfx", "", "#!@%^&()X", "/", "\\", "////abc", "\\\\\\\\abc", "∃x∀y")
for tst_prefix in ("ABCDEF", "./pfx", ".\\pfx", "", "#!@%^&()-", "/", "\\", "////abc", "\\\\\\\\abc", "∃x∀y")
mktempdir(; prefix=tst_prefix) do tmpdir
@test isdir(tmpdir)
@test startswith(tmpdir, tmpdirbase * tst_prefix)
Expand Down

0 comments on commit 8661f7e

Please sign in to comment.