Separated tests for $KCODE and $=

This commit is contained in:
Nobuyoshi Nakada 2020-08-31 22:06:06 +09:00
parent eca854041f
commit 82541df081
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -664,6 +664,9 @@ class TestRegexp < Test::Unit::TestCase
def test_KCODE
assert_nil($KCODE)
assert_nothing_raised { $KCODE = nil }
end
def test_ignorecase
assert_equal(false, $=)
assert_nothing_raised { $= = nil }
end