A missing ! made it so that the testcase schedule_home_states was throwing spurious assert failures. Why this did not result in the test case failing previously is beyond me.

This commit is contained in:
toddaaro 2013-07-02 11:44:51 -07:00
parent 27818ea7c4
commit 0607178280

View File

@ -212,7 +212,7 @@ impl Task {
/// On a special scheduler?
pub fn on_special() -> bool {
do Local::borrow::<Scheduler,bool> |sched| {
sched.run_anything
!sched.run_anything
}
}