summaryrefslogtreecommitdiff
path: root/tests/test_rtf_formatter.py
diff options
context:
space:
mode:
authorAnteru <bitbucket@ca.sh13.net>2019-03-06 18:58:58 +0000
committerAnteru <bitbucket@ca.sh13.net>2019-03-06 18:58:58 +0000
commit336dc9f7200909200036c80685f9703f40ecd238 (patch)
treea18e33f30ede25ebfc833ed661edb88014114484 /tests/test_rtf_formatter.py
parentb17601caa391fc3587960e160c57eb96c2dde3e0 (diff)
parentbce3a972a54517884bcbd45e09e0d3e911fe53d7 (diff)
downloadpygments-git-336dc9f7200909200036c80685f9703f40ecd238.tar.gz
Merged in roskakori/pygments-vbscript (pull request #673)
Added lexer for VBScript
Diffstat (limited to 'tests/test_rtf_formatter.py')
-rw-r--r--tests/test_rtf_formatter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_rtf_formatter.py b/tests/test_rtf_formatter.py
index 25784743..44da5768 100644
--- a/tests/test_rtf_formatter.py
+++ b/tests/test_rtf_formatter.py
@@ -3,7 +3,7 @@
Pygments RTF formatter tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -80,7 +80,7 @@ class RtfFormatterTest(StringTests, unittest.TestCase):
self.assertEndsWith(result, expected+self.foot, msg)
def test_escape_characters(self):
- t = u'\ {{'
+ t = u'\\ {{'
result = self.format_rtf(t)
expected = (r'\\ \{\{')
if not result.endswith(self.foot):