summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-11-04 20:25:57 +0900
committerNobuyoshi Nakada <[email protected]>2024-11-04 23:32:25 +0900
commit4dc120cb7ff51eb56caec43b6f61cee9cdf59ff2 (patch)
tree05a8c2f4b542295a1fa21ad3a2286aefdd0646fa
parent1e037108a13bc876af9adf09d133dcc3274aa277 (diff)
Fix Dir.mktmpdir argument
The temporary directory is the second argument.
-rw-r--r--test/ruby/test_rubyoptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index f9a0d6055b..55f38d3012 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -366,7 +366,7 @@ class TestRubyOptions < Test::Unit::TestCase
assert_equal([], e)
end
- Dir.mktmpdir(d) do |base|
+ Dir.mktmpdir(nil, d) do |base|
# "test" in Japanese and N'Ko
test = base + "/\u{30c6 30b9 30c8}_\u{7e1 7ca 7dd 7cc 7df 7cd 7eb}"
Dir.mkdir(test)