summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Subst/Literal.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Subst/Literal.py b/test/Subst/Literal.py
index dec243d..5d6b15e 100644
--- a/test/Subst/Literal.py
+++ b/test/Subst/Literal.py
@@ -33,14 +33,13 @@ import TestSCons
test = TestSCons.TestSCons()
test.write('SConstruct', """\
-env = Environment(PRE='pre=', MID=Literal('\$$ORIGIN'), SUF='')
+env = Environment(PRE='pre=', MID=Literal('\\\\$$ORIGIN'), SUF='')
print(env.subst('${_concat(PRE, MID, SUF, __env__)}'))
""")
test.run()
-expect = """\
-pre=\$ORIGIN
+expect = r"""pre=\$ORIGIN
"""
test.run(arguments='-Q -q', stdout=expect)