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:
parent
eca854041f
commit
82541df081
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue