Skip to content

Commit

Permalink
Fix test for py2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- committed Sep 16, 2016
1 parent abe2d21 commit 7a959dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_transpilers.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ class Point {
}
}
''')
self.assertIn('''var Point = function () {
assert '''var Point = function () {
function Point(x, y) {
''', ans['code'])
''' in ans['code'], ans['code']

def test_typescript(self):
ans = dukpy.typescript_compile('''
Expand Down

0 comments on commit 7a959dc

Please sign in to comment.