From 52cfb17086998b9434c9c786bfcf827197216c9a Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 26 Apr 2019 18:28:54 +0900 Subject: make sync-default-gems GEM=irb from https://github.com/ruby/irb/commit/e6739d8c66dc78562930adb0b96935c9b38acf74 --- test/irb/test_workspace.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/irb/test_workspace.rb') diff --git a/test/irb/test_workspace.rb b/test/irb/test_workspace.rb index 9c87468cf7..fe63c3c225 100644 --- a/test/irb/test_workspace.rb +++ b/test/irb/test_workspace.rb @@ -7,7 +7,7 @@ require 'irb/color' module TestIRB class TestWorkSpace < Test::Unit::TestCase def test_code_around_binding - Tempfile.create do |f| + Tempfile.create('irb') do |f| code = <<~RUBY # 1 # 2 @@ -37,7 +37,7 @@ module TestIRB skip 'chmod cannot make file unreadable on windows' if windows? skip 'skipped in root privilege' if Process.uid == 0 - Tempfile.create do |f| + Tempfile.create('irb') do |f| code = "IRB::WorkSpace.new(binding)\n" f.print(code) f.close @@ -51,7 +51,7 @@ module TestIRB def test_code_around_binding_with_script_lines__ with_script_lines do |script_lines| - Tempfile.create do |f| + Tempfile.create('irb') do |f| code = "IRB::WorkSpace.new(binding)\n" script_lines[f.path] = code.split(/^/) -- cgit v1.2.3