summaryrefslogtreecommitdiff
path: root/test/csv/test_features.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/csv/test_features.rb')
-rwxr-xr-xtest/csv/test_features.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/csv/test_features.rb b/test/csv/test_features.rb
index e9700c4ef4..e31465710b 100755
--- a/test/csv/test_features.rb
+++ b/test/csv/test_features.rb
@@ -218,6 +218,8 @@ class TestCSV::Features < TestCSV
)
end
assert_equal("\r\n", zipped.row_sep)
+ ensure
+ zipped.close
end if defined?(Zlib::GzipReader)
def test_gzip_writer_bug_fix