Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Oj::Doc will close on GC

  • Loading branch information...
commit 0d345547ffe2c7da2ce4dcbc026777d826ef434b 1 parent 4344f4b
Peter Ohler authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  test/test_fast.rb
View
1  test/test_fast.rb
@@ -361,6 +361,7 @@ def test_open_no_close
assert_equal(2, doc.fetch('a/2'))
doc = nil
GC.start
+ # a print statement confirms close is called
end
Please sign in to comment.
Something went wrong with that request. Please try again.