diff options
author | Jeremy Evans <code@jeremyevans.net> | 2022-04-22 13:01:43 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2022-04-22 15:00:16 -0700 |
commit | ab3cb29bd9bff9c16cfb9d19cc02026998282c12 (patch) | |
tree | 6127856f758af8ff4b435f845c2777e0f478ca94 /test/-ext-/funcall/test_passing_block.rb | |
parent | c2d38a0d2d78f749fba47073b33106fd2e57767a (diff) |
Avoid defining the same test class in multiple files
Should fix issues with parallel testing sometimes not running all
tests.
This should be viewed skipping whitespace changes.
Fixes [Bug #18731]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5839
Diffstat (limited to 'test/-ext-/funcall/test_passing_block.rb')
-rw-r--r-- | test/-ext-/funcall/test_passing_block.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/-ext-/funcall/test_passing_block.rb b/test/-ext-/funcall/test_passing_block.rb index 71c9d905be..8964403494 100644 --- a/test/-ext-/funcall/test_passing_block.rb +++ b/test/-ext-/funcall/test_passing_block.rb @@ -9,6 +9,11 @@ class TestFuncall < Test::Unit::TestCase end require '-test-/funcall' + def test_funcall_extra_args + assert_equal 'TestFuncall', TestFuncall.extra_args_name, + '[ruby-core:85266] [Bug #14425]' + end + def test_with_funcall2 ok = nil Relay.with_funcall2("feature#4504") {|arg| ok = arg || true} |