diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-30 09:05:50 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-30 09:05:50 +0000 |
commit | a6290ae0fee1df2bd61f2dec1847f0ed18a95ea7 (patch) | |
tree | fc285d8bd11de1678e5cab2dfa14c70e3f526506 /test | |
parent | b96c429890c80a62de0c6442497d6ea38a652354 (diff) | |
download | ruby-a6290ae0fee1df2bd61f2dec1847f0ed18a95ea7.tar.gz |
* 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
Diffstat (limited to 'test')
-rw-r--r-- | test/test_tempfile.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |