Skip to content

Commit

Permalink
Add unit test for now unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
kanigsson committed Aug 16, 2023
1 parent b6f8f27 commit 580fb91
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/ada_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,10 @@ def test_record_type() -> None:
)


def test_null_component() -> None:
assert str(ada.NullComponent()) == "null;"


def test_access_type() -> None:
assert str(ada.AccessType("A", "B")) == "type A is access B;"

Expand Down

0 comments on commit 580fb91

Please sign in to comment.