fix name end_pos problems

This commit is contained in:
David Halter
2013-08-16 22:31:51 +04:30
parent 098397aa79
commit d4f605d213
2 changed files with 4 additions and 4 deletions

View File

@@ -26,8 +26,8 @@ class TestCallAndName():
call = self.get_call('1.0\n')
assert call.name == 1.0
assert call.name.start_pos == call.start_pos == (1, 0)
assert call.name.end_pos == call.end_pos == (1, 3)
assert call.start_pos == (1, 0)
assert call.end_pos == (1, 3)
def test_call_type(self):
call = self.get_call('hello')