about summary refs log tree commit diff stats
path: root/cpp/002main.test.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-02-17 14:05:01 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-02-17 14:05:01 -0800
commit6042828bdea2a1ed1da1b0d2013a4479fb3d005a (patch)
tree1b45e4519392e123a7f9daf75ce5d44409877a85 /cpp/002main.test.cc
parent6a2dabe3675cc5d9f03587e1bf4fb8c7a61bafea (diff)
downloadmu-6042828bdea2a1ed1da1b0d2013a4479fb3d005a.tar.gz
774 - start persisting test traces
Diffstat (limited to 'cpp/002main.test.cc')
-rw-r--r--cpp/002main.test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/002main.test.cc b/cpp/002main.test.cc
index 2ac6843d..72dbe41f 100644
--- a/cpp/002main.test.cc
+++ b/cpp/002main.test.cc
@@ -1,11 +1,11 @@
-void test_parse() {
+TEST(parse)
   compile("recipe main [\n"
           "  1:integer <- copy 23:literal\n"
           "]\n");
   CHECK_TRACE_CONTENTS("parse", "instruction: 1  ingredient: {name: \"23\", type: 0}  product: {name: \"1\", type: 1}");
 }
 
-void test_parse_label() {
+TEST(parse_label)
   compile("recipe main [\n"
           "  foo:\n"
           "]\n");
@@ -13,14 +13,14 @@ void test_parse_label() {
   CHECK_TRACE_DOESNT_CONTAIN("parse", "instruction: 1");
 }
 
-void test_parse2() {
+TEST(parse2)
   compile("recipe main [\n"
           "  1:integer, 2:integer <- copy 23:literal\n"
           "]\n");
   CHECK_TRACE_CONTENTS("parse", "instruction: 1  ingredient: {name: \"23\", type: 0}  product: {name: \"1\", type: 1}  product: {name: \"2\", type: 1}");
 }
 
-void test_literal() {
+TEST(literal)
   compile("recipe main [\n"
           "  1:integer <- copy 23:literal\n"
           "]\n");