summaryrefslogtreecommitdiffstats
path: root/tests/tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.cpp')
-rw-r--r--tests/tests.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp
index 0d8ee79..03541dc 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -127,6 +127,7 @@ void Tests::macros()
QCOMPARE(macroTable.macroValue("Literal4"), QLatin1String("backslash at the end\\"));
QCOMPARE(macroTable.macroValue("Literal5"), QLatin1String("backslash at the end\\"));
QCOMPARE(macroTable.macroValue("Literal6"), QLatin1String("backslash at the end\\"));
+ QCOMPARE(macroTable.macroValue("Literal7"), QLatin1String("double backslash at the end\\\\"));
QCOMPARE(macroTable.macroValue("SplitOverLines"), QLatin1String("one two three"));
QCOMPARE(macroTable.macroValue("Incremental"), QLatin1String("one two"));
QCOMPARE(macroTable.expandMacros(macroTable.macroValue("LateDefinition")),