ruby-changes:55448
From: nobu <ko1@a...>
Date: Sun, 21 Apr 2019 12:38:57 +0900 (JST)
Subject: [ruby-changes:55448] nobu:r67668 (trunk): Restore pwd
nobu 2019-04-21 12:38:52 +0900 (Sun, 21 Apr 2019) New Revision: 67668 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67668 Log: Restore pwd Modified files: trunk/test/reline/config_test.rb Index: test/reline/config_test.rb =================================================================== --- test/reline/config_test.rb (revision 67667) +++ test/reline/config_test.rb (revision 67668) @@ -2,6 +2,7 @@ require_relative 'helper' https://github.com/ruby/ruby/blob/trunk/test/reline/config_test.rb#L2 class Reline::Config::Test < Reline::TestCase def setup + @pwd = Dir.pwd @tmpdir = File.join(Dir.tmpdir, "test_reline_config_#{$$}") Dir.mkdir(@tmpdir) Dir.chdir(@tmpdir) @@ -9,6 +10,7 @@ class Reline::Config::Test < Reline::Tes https://github.com/ruby/ruby/blob/trunk/test/reline/config_test.rb#L10 end def teardown + Dir.chdir(@pwd) FileUtils.rm_rf(@tmpdir) end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/