jruby: Add StringIO::VERSION (#59)

Fixes GH-57
This commit is contained in:
Sutou Kouhei 2023-08-10 15:43:11 +09:00 committed by Hiroshi SHIBATA
parent 13ed1d7b60
commit 0a219ef44a
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -14,6 +14,10 @@ class TestStringIO < Test::Unit::TestCase
include TestEOF::Seek
def test_version
assert_kind_of(String, StringIO::VERSION)
end
def test_initialize
assert_kind_of StringIO, StringIO.new
assert_kind_of StringIO, StringIO.new('str')