From 4dc120cb7ff51eb56caec43b6f61cee9cdf59ff2 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 4 Nov 2024 20:25:57 +0900 Subject: [PATCH] Fix Dir.mktmpdir argument The temporary directory is the second argument. --- test/ruby/test_rubyoptions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)