1
Fork 0

Fix a typo in a rt::io::signal test

It was pretty much a miracle that these tests were ever passing. They would
never have passed in the single threaded case because only one sigint in the
tests is ever generated, but when run in parallel two sigints will be generated.
This commit is contained in:
Alex Crichton 2013-10-26 23:31:14 -07:00
parent 950add4e49
commit 28f4f65d0c

View file

@ -183,7 +183,7 @@ mod test {
Interrupt => (),
s => fail!("Expected Interrupt, got {:?}", s),
}
match s1.port.recv() {
match s2.port.recv() {
Interrupt => (),
s => fail!("Expected Interrupt, got {:?}", s),
}