aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/libutil-support/tests/cli-literate-parser.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/libutil-support/tests/cli-literate-parser.cc b/tests/unit/libutil-support/tests/cli-literate-parser.cc
index 08ebddebc..4edf434be 100644
--- a/tests/unit/libutil-support/tests/cli-literate-parser.cc
+++ b/tests/unit/libutil-support/tests/cli-literate-parser.cc
@@ -1,4 +1,5 @@
#include "cli-literate-parser.hh"
+#include "escape-string.hh"
#include "libexpr/print.hh"
#include "escape-char.hh"
#include "types.hh"
@@ -41,7 +42,7 @@ auto CLILiterateParser::Node::print() const -> std::string
s << "Output ";
break;
}
- printLiteralString(s, this->text);
+ escapeString(s, this->text);
return s.str();
}