Skip to content

Commit

Permalink
Adding unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
chdemko committed Mar 31, 2016
1 parent 7bdd979 commit 9146e06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_numbering.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ def test_numbering():
pandoc_numbering.count = {}
pandoc_numbering.information = {}

src = Para([Str('Exercise'), Space(), Str('#')])
dest = Para([Span(['exercise:1', [], []], [Strong( [Str('Exercise'), Space(), Str('1')] )])])
src = Para([Str(u'Exercise'), Space(), Str(u'#')])
dest = Para([Span([u'exercise:1', [], []], [Strong( [Str(u'Exercise'), Space(), Str(u'1')] )])])

assert pandoc_numbering.numbering(src['t'], src['c'], '', {}) == dest

Expand Down

0 comments on commit 9146e06

Please sign in to comment.