diff options
Diffstat (limited to 'spec/rubyspec/optional/capi/globals_spec.rb')
-rw-r--r-- | spec/rubyspec/optional/capi/globals_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/rubyspec/optional/capi/globals_spec.rb b/spec/rubyspec/optional/capi/globals_spec.rb index 2e748e78ac..c6e2ed912b 100644 --- a/spec/rubyspec/optional/capi/globals_spec.rb +++ b/spec/rubyspec/optional/capi/globals_spec.rb @@ -188,7 +188,7 @@ describe "CApiGlobalSpecs" do running = true end - Thread.pass until running + Thread.pass while thr.status and !running $_.should be_nil thr.join @@ -215,7 +215,7 @@ describe "CApiGlobalSpecs" do running = true end - Thread.pass until running + Thread.pass while thr.status and !running $_.should be_nil thr.join |