Skip to content

Commit

Permalink
Adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
tothtamas28 committed Dec 2, 2024
1 parent d460bec commit 1d6f27c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyk/src/tests/integration/kore/test_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@pytest.fixture(scope='module')
def definition(kompile: Kompiler) -> Definition:
main_file = K_FILES / 'imp.k'
definition_dir = kompile(main_file=main_file)
definition_dir = kompile(main_file=main_file, backend='haskell')
kore_file = definition_dir / 'definition.kore'
kore_text = kore_file.read_text()
definition = KoreParser(kore_text).definition()
Expand All @@ -33,4 +33,6 @@ def test_extract_all(definition: Definition) -> None:
cnt = Counter(type(rule).__name__ for rule in rules)
assert cnt['RewriteRule']
assert cnt['FunctionRule']
assert cnt['SimpliRule']
assert cnt['AppRule']
assert cnt['CeilRule']
assert cnt['EqualsRule']

0 comments on commit 1d6f27c

Please sign in to comment.