Skip to content

Commit

Permalink
chore: update tests to use new function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
gnikit committed May 15, 2024
1 parent 3f4b085 commit 590c29e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,15 @@ def test_submodule():
def test_private_visibility_interfaces():
file_path = test_dir / "vis" / "private.f90"
file = FortranFile(str(file_path))
err_str, _ = file.load_from_disk()
file.load_from_disk()
file.parse()
assert err_str is None


def test_end_scopes_semicolon():
file_path = test_dir / "parse" / "trailing_semicolon.f90"
file = FortranFile(str(file_path))
err_str, _ = file.load_from_disk()
file.load_from_disk()
ast = file.parse()
assert err_str is None
assert not ast.end_errors


Expand Down

0 comments on commit 590c29e

Please sign in to comment.