Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit 0037d76

Browse files
authored
Merge pull request #88 from juanjux/fix/sort_test
Change position iterator unittest to match the expected ordering of the fixed libuast
2 parents e66ec8c + 56ecc7e commit 0037d76

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bblfsh/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ def testIteratorPositionOrder(self):
215215
it = iterator(root, TreeOrder.POSITION_ORDER)
216216
self.assertIsNotNone(it)
217217
expanded = [node.internal_type for node in it]
218-
self.assertListEqual(expanded, ['root', 'son1', 'son2_1', 'son1_2',
219-
'son1_1', 'son2_2', 'son2'])
218+
self.assertListEqual(expanded, ['root', 'son1', 'son2_1', 'son1_1',
219+
'son1_2', 'son2_2', 'son2'])
220220

221221
def _validate_resp(self, resp):
222222
self.assertIsNotNone(resp)

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
from setuptools import setup, find_packages, Extension
66
from setuptools.command.build_ext import build_ext
77

8-
VERSION = "2.9.5"
9-
LIBUAST_VERSION = "v1.9.0"
8+
VERSION = "2.9.6"
9+
LIBUAST_VERSION = "v1.9.1"
1010
SDK_VERSION = "v1.8.0"
1111
SDK_MAJOR = SDK_VERSION.split('.')[0]
1212
PYTHON = "python3"
@@ -106,9 +106,9 @@ def doGetDeps():
106106

107107
def clean():
108108
runc("rm -rf gopkg.in")
109-
runc("rm -rf bblfsh/libuast")
110109
runc("rm -rf bblfsh/github")
111110
runc("rm -rf bblfsh/gopkg")
111+
runc("rm -rf bblfsh/libuast")
112112

113113

114114
def main():

0 commit comments

Comments
 (0)