ruby-changes:63762
From: Nobuyoshi <ko1@a...>
Date: Fri, 27 Nov 2020 13:09:52 +0900 (JST)
Subject: [ruby-changes:63762] 82541df081 (master): Separated tests for $KCODE and $=
https://git.ruby-lang.org/ruby.git/commit/?id=82541df081 From 82541df081393198dd9265ed12d6cc7cc32915a0 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 31 Aug 2020 22:06:06 +0900 Subject: Separated tests for $KCODE and $= diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb index 220e2b7..6243ead 100644 --- a/test/ruby/test_regexp.rb +++ b/test/ruby/test_regexp.rb @@ -664,6 +664,9 @@ class TestRegexp < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_regexp.rb#L664 def test_KCODE assert_nil($KCODE) assert_nothing_raised { $KCODE = nil } + end + + def test_ignorecase assert_equal(false, $=) assert_nothing_raised { $= = nil } end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/