summaryrefslogtreecommitdiff
path: root/test/psych/test_tainted.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/psych/test_tainted.rb')
-rw-r--r--test/psych/test_tainted.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/psych/test_tainted.rb b/test/psych/test_tainted.rb
index bf55d3b30e..00d220e825 100644
--- a/test/psych/test_tainted.rb
+++ b/test/psych/test_tainted.rb
@@ -121,7 +121,9 @@ module Psych
t.binmode
t.write string
t.close
- File.open(t.path) { |f| @parser.parse f }
+ File.open(t.path) { |f|
+ @parser.parse f
+ }
t.close(true)
end
end