Skip to content

Commit ed4222f

Browse files
committed
JRuby fix #3
1 parent 578fc35 commit ed4222f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/concurrent/atomic/semaphore_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def subject.simulate_spurious_wake_up
156156
describe Semaphore do
157157
if jruby?
158158
it 'inherits from JavaCountDownLatch' do
159-
expect(CountDownLatch.ancestors).to include(JavaCountDownLatch)
159+
expect(Semaphore.ancestors).to include(Semaphore)
160160
end
161161
else
162162
it 'inherits from MutexSemaphore' do

0 commit comments

Comments
 (0)