summaryrefslogtreecommitdiff
path: root/tests/test_r.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2018-11-28 16:11:03 +0100
committerGeorg Brandl <georg@python.org>2018-11-28 16:11:03 +0100
commit0963c0f6c6b3ddfe317fbeee7b956262e95ff4cf (patch)
tree4ffa94469b9c886f18ac1328decce2f4c367bda4 /tests/test_r.py
parentfdf7c168d247782137ef6324309585d6ba047db4 (diff)
parent8ec816d3c681b15247d5dac12bc5d291703c8ad0 (diff)
downloadpygments-git-0963c0f6c6b3ddfe317fbeee7b956262e95ff4cf.tar.gz
Merge heads.
Diffstat (limited to 'tests/test_r.py')
-rw-r--r--tests/test_r.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_r.py b/tests/test_r.py
index d0e9090b..70148e53 100644
--- a/tests/test_r.py
+++ b/tests/test_r.py
@@ -50,9 +50,9 @@ class RTest(unittest.TestCase):
def testName3(self):
# Internal backticks can be escaped
- fragment = u'`.1 \` blah`'
+ fragment = u'`.1 \\` blah`'
tokens = [
- (Name, u'`.1 \` blah`'),
+ (Name, u'`.1 \\` blah`'),
(Token.Text, u'\n'),
]
self.assertEqual(tokens, list(self.lexer.get_tokens(fragment)))