about summary refs log tree commit diff stats
path: root/003trace.test.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-02 17:57:43 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-02 17:57:43 -0700
commit4c569925ca46a14ebea9303ceb423b781bad5e79 (patch)
tree0a30bfa3ebd859b4da9fcee07ed091652af268bd /003trace.test.cc
parent3dc3c72c4327f5f7cdeb28b1bb80cc8c67cb2c5b (diff)
downloadmu-4c569925ca46a14ebea9303ceb423b781bad5e79.tar.gz
3294
Diffstat (limited to '003trace.test.cc')
-rw-r--r--003trace.test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/003trace.test.cc b/003trace.test.cc
index e90fd69c..098e510e 100644
--- a/003trace.test.cc
+++ b/003trace.test.cc
@@ -12,8 +12,8 @@ void test_trace_check_ignores_other_layers() {
 
 void test_trace_check_ignores_leading_whitespace() {
   trace("test layer 1") << " foo" << end();
-  CHECK(trace_count("test layer 1", /*too little whitespace*/"foo") == 1);
-  CHECK(trace_count("test layer 1", /*too much whitespace*/"  foo") == 1);
+  CHECK_EQ(trace_count("test layer 1", /*too little whitespace*/"foo"), 1);
+  CHECK_EQ(trace_count("test layer 1", /*too much whitespace*/"  foo"), 1);
 }
 
 void test_trace_check_ignores_other_lines() {
@@ -59,7 +59,7 @@ void test_trace_supports_count2() {
 
 void test_trace_count_ignores_trailing_whitespace() {
   trace("test layer 1") << "foo\n" << end();
-  CHECK(trace_count("test layer 1", "foo") == 1);
+  CHECK_EQ(trace_count("test layer 1", "foo"), 1);
 }
 
 // pending: DUMP tests