Skip to content

Commit 3c68b78

Browse files
committed
Use omit instead of return in assertion
1 parent 13407d9 commit 3c68b78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/lib/core_assertions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def assert_separately(args, file = nil, line = nil, src, ignore_stderr: nil, **o
390390

391391
# Run Ractor-related test without influencing the main test suite
392392
def assert_ractor(src, args: [], require: nil, require_relative: nil, file: nil, line: nil, ignore_stderr: nil, **opt)
393-
return unless defined?(Ractor)
393+
omit unless defined?(Ractor)
394394
omit if windows?
395395

396396
# https://bugs.ruby-lang.org/issues/21262

0 commit comments

Comments
 (0)