Skip to content

Commit 17b7614

Browse files
authored
Merge pull request #15 from kmaehashi/fix-invalid-sequence
Fix invalid sequence
2 parents f9538d6 + 12f74f3 commit 17b7614

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

atwiki/test/test_parser.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
from atwiki.parser import AtWikiStripper
88

9-
INPUT = '''
9+
INPUT = r"""
1010
// This is a comment.
1111
1212
&nivocideo(url) &color(#ffffff){white} and black
1313
1414
[[Link1]] / [[Link2>URL]]
15-
Styles: ''bold'' \'\'\'italic\'\'\' %%del%% ''bold''
15+
Styles: ''bold'' '''italic''' %%del%% ''bold''
1616
Special: '' A ✔︎ ( ) { } \ / ! ''
1717
1818
@@ -36,9 +36,9 @@
3636
#exk(){{{{{
3737
block 2
3838
}}}}}
39-
'''
39+
"""
4040

41-
OUTPUT = '''
41+
OUTPUT = r"""
4242
4343
white and black
4444
@@ -62,8 +62,7 @@
6262
pre
6363
6464
block 1
65-
block 2\
66-
'''
65+
block 2"""
6766

6867
class AtWikiStripperTest(TestCase):
6968
def test_doc(self):

0 commit comments

Comments
 (0)