From 580fb9189b37f08c2a08d41f960489f7079cf364 Mon Sep 17 00:00:00 2001 From: Johannes Kanig Date: Wed, 16 Aug 2023 09:21:56 +0900 Subject: [PATCH] Add unit test for now unused code --- tests/unit/ada_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/unit/ada_test.py b/tests/unit/ada_test.py index b3499f5bb..f2cc54f59 100644 --- a/tests/unit/ada_test.py +++ b/tests/unit/ada_test.py @@ -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;"