Fix the if condition to skip test_ractor.rb correctly (#13067)

Follow-up for a2b03ba7cb
This commit is contained in:
Naoto Ono 2025-04-06 09:38:58 +09:00 committed by GitHub
parent 229784d160
commit b5ac483d95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
Notes: git 2025-05-14 12:41:59 +00:00
Merged-By: ono-max <onoto1998@gmail.com>

View File

@ -1636,7 +1636,7 @@ assert_equal "ok", %q{
1_000.times { idle_worker, tmp_reporter = Ractor.select(*workers) }
"ok"
} if !yjit_enabled? || ENV['GITHUB_WORKFLOW'] == 'ModGC' # flaky
} if !yjit_enabled? || ENV['GITHUB_WORKFLOW'] != 'ModGC' # flaky
assert_equal "ok", %q{
def foo(*); ->{ super }; end