summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2023-03-25 09:50:40 +0900
committernagachika <nagachika@ruby-lang.org>2023-03-25 09:50:40 +0900
commit6ee749a52817fc463bbc2e93e5c3874a8c9aacf9 (patch)
treead7e5a4e3e8e46e107e0496cfd30161cdd0c6626 /test
parentbc04b38f72ba1f261fbb3e881e6ae65c4bc77797 (diff)
Revert "Skip the test for [Bug #19316] for a while."
This reverts commit 82d763c94ad693a2af8086df8e0455b7de2d2ce3, and add exit: :any to assert_compile. Co-authored-by: Alan Wu <alansi.xingwu@shopify.com>
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_yjit.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ruby/test_yjit.rb b/test/ruby/test_yjit.rb
index da4207a1f5..48b3e4acea 100644
--- a/test/ruby/test_yjit.rb
+++ b/test/ruby/test_yjit.rb
@@ -686,10 +686,9 @@ class TestYJIT < Test::Unit::TestCase
end
def test_bug_19316
- omit "skip this test for [Bug #19316] for a while."
n = 2 ** 64
# foo's extra param and the splats are relevant
- assert_compiles(<<~'RUBY', result: [[n, -n], [n, -n]])
+ assert_compiles(<<~'RUBY', result: [[n, -n], [n, -n]], exits: :any)
def foo(_, a, b, c)
[a & b, ~c]
end