From cc09968d71b70cc6b4eab7064ed7fc96ec61cd16 Mon Sep 17 00:00:00 2001 From: usa Date: Sat, 30 May 2015 09:05:50 +0000 Subject: * lib/tempfile.rb (Remover#call): fixed wrong condition introduced at r50682. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/test_tempfile.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_tempfile.rb b/test/test_tempfile.rb index 5904050dd7..e9ce45da94 100644 --- a/test/test_tempfile.rb +++ b/test/test_tempfile.rb @@ -207,7 +207,7 @@ File.open(path, "w").close assert_in_out_err('-rtempfile', <<-'EOS') do |(filename), (error)| puts Tempfile.new('foo').path EOS - assert !File.exist?(filename) + assert !File.exist?(filename), "tempfile must not be exist after GC." assert_nil(error) end end -- cgit v1.2.3