diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-11-13 11:45:30 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-11-13 14:29:16 +0900 |
| commit | 3c68b781dcf63fe29dbde569e534ab0e2b3eec0c (patch) | |
| tree | 144fa9e73c4a6044de669229d928087513b39dd9 | |
| parent | 13407d959ab6e481db3148ea76f46c2f5aa70479 (diff) | |
Use omit instead of return in assertion
| -rw-r--r-- | tool/lib/core_assertions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/core_assertions.rb b/tool/lib/core_assertions.rb index 2a60cfc445..a9eb9ec3dc 100644 --- a/tool/lib/core_assertions.rb +++ b/tool/lib/core_assertions.rb @@ -390,7 +390,7 @@ eom # Run Ractor-related test without influencing the main test suite def assert_ractor(src, args: [], require: nil, require_relative: nil, file: nil, line: nil, ignore_stderr: nil, **opt) - return unless defined?(Ractor) + omit unless defined?(Ractor) omit if windows? # https://bugs.ruby-lang.org/issues/21262 |
