about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--003trace.test.cc6
-rw-r--r--050scenario.cc2
-rw-r--r--055shape_shifting_container.cc2
3 files changed, 5 insertions, 5 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
diff --git a/050scenario.cc b/050scenario.cc
index 8d5f5f62..7a2ea7a8 100644
--- a/050scenario.cc
+++ b/050scenario.cc
@@ -230,7 +230,7 @@ void test_maybe_make_raw() {
   bind_special_scenario_names(tmp.at(0));
   transform_all();
   run(tmp.at(0));
-  CHECK(trace_count("error") == 0);
+  CHECK_EQ(trace_count("error"), 0);
 }
 
 //: Watch out for redefinitions of scenario routines. We should never ever be
diff --git a/055shape_shifting_container.cc b/055shape_shifting_container.cc
index 375e1e18..60774926 100644
--- a/055shape_shifting_container.cc
+++ b/055shape_shifting_container.cc
@@ -201,7 +201,7 @@ def main [
 +mem: storing 23 in location 7
 +run: reply
 # no other stores
-% CHECK(trace_count_prefix("mem", "storing") == 7);
+% CHECK_EQ(trace_count_prefix("mem", "storing"), 7);
 
 :(scenario get_on_shape_shifting_container)
 container foo:_t [
n189'>189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258