diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-08-31 22:06:06 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-11-27 13:09:20 +0900 |
commit | 82541df081393198dd9265ed12d6cc7cc32915a0 (patch) | |
tree | b5364fc2a79963dd535a778d1c50996e4562af89 /test/ruby/test_regexp.rb | |
parent | eca854041f86f2171e37ab876bf108d9e13b8188 (diff) |
Separated tests for $KCODE and $=
Diffstat (limited to 'test/ruby/test_regexp.rb')
-rw-r--r-- | test/ruby/test_regexp.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb index 220e2b78ae..6243ead1ff 100644 --- a/test/ruby/test_regexp.rb +++ b/test/ruby/test_regexp.rb @@ -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 |