summaryrefslogtreecommitdiff
path: root/test/ruby/test_regexp.rb
diff options
context:
space:
mode:
authorTSUYUSATO Kitsune <[email protected]>2022-12-28 20:03:25 +0900
committer<[email protected]>2022-12-28 20:03:25 +0900
commitb726d60c986bf951d13e7a2ab5f5e58f58657b03 ()
tree83b1f96fab2fd86574a389828765d85e705f3b5e /test/ruby/test_regexp.rb
parent393192160726d6b299ca1f66fad9414e4bf8109a (diff)
Fix [Bug 19273], set correct value to `outer_repeat` on `OP_REPEAT` (#7035)
Notes: Merged-By: makenowjust <[email protected]>
-rw-r--r--test/ruby/test_regexp.rb5
1 files changed, 5 insertions, 0 deletions
@@ -1721,6 +1721,11 @@ class TestRegexp < Test::Unit::TestCase
end;
end
def test_linear_time_p
assert_send [Regexp, :linear_time?, /a/]
assert_send [Regexp, :linear_time?, 'a']