Skip to content

Commit b4d58a3

Browse files
committed
JRuby fix #4
1 parent ed4222f commit b4d58a3

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(Semaphore.ancestors).to include(Semaphore)
159+
expect(Semaphore.ancestors).to include(JavaSemaphore)
160160
end
161161
else
162162
it 'inherits from MutexSemaphore' do

0 commit comments

Comments
 (0)