Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
br3no committed May 10, 2024
1 parent faea4cd commit 32cc20d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions tests/fsm/test_fsm.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ def convert_token_to_string(self, token):
assert fsm.is_final_state(state)

state = fsm.next_state(state=5, token_id=103)
assert state == 5

assert fsm.is_final_state(-1)
assert fsm.is_final_state(state)


def test_cfg():
Expand Down
4 changes: 1 addition & 3 deletions tests/fsm/test_guide.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,7 @@ def convert_token_to_string(self, token):
assert fsm.is_final_state(state)

state = fsm.get_next_state(state=5, token_id=103)
assert state == 5

assert fsm.is_final_state(-1)
assert fsm.is_final_state(state)


def test_cfg():
Expand Down

0 comments on commit 32cc20d

Please sign in to comment.