about summary refs log tree commit diff stats
path: root/cpp/.traces/trace_negative_check_warns_on_any_unexpected_line
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/.traces/trace_negative_check_warns_on_any_unexpected_line')
-rw-r--r--cpp/.traces/trace_negative_check_warns_on_any_unexpected_line42
1 files changed, 42 insertions, 0 deletions
diff --git a/cpp/.traces/trace_negative_check_warns_on_any_unexpected_line b/cpp/.traces/trace_negative_check_warns_on_any_unexpected_line
new file mode 100644
index 00000000..913028a6
--- /dev/null
+++ b/cpp/.traces/trace_negative_check_warns_on_any_unexpected_line
@@ -0,0 +1,42 @@
+parse/0: instruction: run
+parse/0:   ingredient: {name: "
+    trace [a], [d]
+  ", value: 0, type: 0, properties: ["
+    trace [a], [d]
+  ": "literal-string"]}
+parse/0: instruction: trace-should-not-contain
+parse/0:   ingredient: {name: "
+    a: b
+    a: d
+  ", value: 0, type: 0, properties: ["
+    a: b
+    a: d
+  ": "literal-string"]}
+after-brace/0: recipe main
+after-brace/0: run ...
+after-brace/0: trace-should-not-contain ...
+new/0: routine allocated memory from 1000 to 101000
+schedule/0: main
+run/0: instruction main/0
+run/0: run {name: "
+    trace [a], [d]
+  ", value: 0, type: 0, properties: ["
+    trace [a], [d]
+  ": "literal-string"]}
+parse/0: instruction: trace
+parse/0:   ingredient: {name: "a", value: 0, type: 0, properties: ["a": "literal-string"]}
+parse/0:   ingredient: {name: "d", value: 0, type: 0, properties: ["d": "literal-string"]}
+after-brace/0: recipe tmp0
+after-brace/0: trace ...
+run/0: instruction tmp0/0
+run/0: trace {name: "a", value: 0, type: 0, properties: ["a": "literal-string"]}, {name: "d", value: 0, type: 0, properties: ["d": "literal-string"]}
+a/0: d
+run/0: instruction main/1
+run/0: trace-should-not-contain {name: "
+    a: b
+    a: d
+  ", value: 0, type: 0, properties: ["
+    a: b
+    a: d
+  ": "literal-string"]}
+warn/0: unexpected [d] in trace layer a