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:
parent
950add4e49
commit
28f4f65d0c
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue