about summary refs log tree commit diff stats
path: root/cpp/.traces/trace_should_contain
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-01 23:37:12 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-01 23:37:12 -0700
commit36d163092fe951fd897dfb396c5e2cb301977800 (patch)
tree1535345df9949c1c8dcebee848ad0c47e283daa6 /cpp/.traces/trace_should_contain
parentb35ac82d06c3e5e30d6751b62f2baa40c9787ffd (diff)
downloadmu-36d163092fe951fd897dfb396c5e2cb301977800.tar.gz
1234 - support for trace checks
Diffstat (limited to 'cpp/.traces/trace_should_contain')
-rw-r--r--cpp/.traces/trace_should_contain17
1 files changed, 17 insertions, 0 deletions
diff --git a/cpp/.traces/trace_should_contain b/cpp/.traces/trace_should_contain
new file mode 100644
index 00000000..471d332e
--- /dev/null
+++ b/cpp/.traces/trace_should_contain
@@ -0,0 +1,17 @@
+parse/0: instruction: trace-should-contain
+parse/0:   ingredient: {name: "
+    a: b
+  ", value: 0, type: 0, properties: ["
+    a: b
+  ": "literal-string"]}
+after-brace/0: recipe main
+after-brace/0: trace-should-contain ...
+new/0: routine allocated memory from 1000 to 101000
+schedule/0: main
+run/0: instruction main/0
+run/0: trace-should-contain {name: "
+    a: b
+  ", value: 0, type: 0, properties: ["
+    a: b
+  ": "literal-string"]}
+warn/0: undefined operation 1001: trace-should-contain