about summary refs log tree commit diff
path: root/src/libcore/rt/sched.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/rt/sched.rs')
-rw-r--r--src/libcore/rt/sched.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/rt/sched.rs b/src/libcore/rt/sched.rs
index c66f20e01b2..7fd40fb329f 100644
--- a/src/libcore/rt/sched.rs
+++ b/src/libcore/rt/sched.rs
@@ -445,7 +445,7 @@ mod test {
                 sched.enqueue_task(task);
             }
             sched.run();
-            assert!(task_count == total);
+            assert_eq!(task_count, total);
         }
     }
 
@@ -473,7 +473,7 @@ mod test {
             };
             sched.enqueue_task(task1);
             sched.run();
-            assert!(count == 3);
+            assert_eq!(count, 3);
         }
     }
 
@@ -492,7 +492,7 @@ mod test {
             sched.enqueue_task(start_task);
             sched.run();
 
-            assert!(count == MAX);
+            assert_eq!(count, MAX);
 
             fn run_task(count_ptr: *mut int) {
                 do local_sched::borrow |sched| {