about summary refs log tree commit diff
path: root/src/test/run-pass/task-comm-4.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/task-comm-4.rs')
-rw-r--r--src/test/run-pass/task-comm-4.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/task-comm-4.rs b/src/test/run-pass/task-comm-4.rs
index 3b606642571..a1afefed2ee 100644
--- a/src/test/run-pass/task-comm-4.rs
+++ b/src/test/run-pass/task-comm-4.rs
@@ -46,5 +46,5 @@ fn test00() {
     r = p.recv();
     sum += r;
     debug!(r);
-    assert!((sum == 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8));
+    assert_eq!(sum, 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8);
 }