1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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