Skip to content

Commit

Permalink
Oops, flipped the test
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Jan 4, 2024
1 parent a19c001 commit 0bc276c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ public static IRubyObject pending_interrupt_p_s(ThreadContext context, IRubyObje

@JRubyMethod(name = "pending_interrupt?")
public IRubyObject pending_interrupt_p(ThreadContext context) {
return RubyBoolean.newBoolean(context, pendingInterruptQueue.isEmpty());
return RubyBoolean.newBoolean(context, !pendingInterruptQueue.isEmpty());
}

@JRubyMethod(name = "pending_interrupt?")
Expand Down

0 comments on commit 0bc276c

Please sign in to comment.