Skip to content

Commit

Permalink
Fix example tests on macosx
Browse files Browse the repository at this point in the history
test_many failed to receive the second signal when they were sent
simultaneously.
  • Loading branch information
jwilm committed Apr 29, 2016
1 parent 0720d92 commit 4ed554d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/test_many.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn main() {
chan_signal::notify_on(&s1, Signal::HUP);
chan_signal::notify_on(&s2, Signal::TERM);
kill_this(Signal::HUP);
kill_this(Signal::TERM);
assert_eq!(r1.recv(), Some(Signal::HUP));
kill_this(Signal::TERM);
assert_eq!(r2.recv(), Some(Signal::TERM));
}

0 comments on commit 4ed554d

Please sign in to comment.