about summary refs log tree commit diff stats
path: root/cpp/tangle
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-02-19 15:36:49 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-02-19 15:37:47 -0800
commitf4b6b2c2876bb29c01bfd95f55347e7d74222974 (patch)
tree151c84af6dca71de824267275e4edfb665ec2a26 /cpp/tangle
parentcae5461b1dfeb70dac6b66192fc6b12952beb723 (diff)
downloadmu-f4b6b2c2876bb29c01bfd95f55347e7d74222974.tar.gz
784 - persist traces in literate version
Diffstat (limited to 'cpp/tangle')
-rw-r--r--cpp/tangle/030tangle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/tangle/030tangle.cc b/cpp/tangle/030tangle.cc
index 2dda8667..c47c8cc1 100644
--- a/cpp/tangle/030tangle.cc
+++ b/cpp/tangle/030tangle.cc
@@ -181,7 +181,7 @@ list<string>::iterator balancing_curly(list<string>::iterator orig) {
 //  followed by one or more lines trace shouldn't include ('-')
 // Remember to update is_input below if you add to this format.
 void emit_test(const string& name, list<string>& lines, list<string>& result) {
-  result.push_back("void test_"+name+"() {");
+  result.push_back("TEST("+name+")");
   while (any_non_input_line(lines)) {
     if (!any_line_starts_with(lines, "=>"))
       emit_session(lines, result);  // simpler version; no need to check result