summaryrefslogtreecommitdiff
path: root/test/test_tempfile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_tempfile.rb')
-rw-r--r--test/test_tempfile.rb2
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