aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/libghdl/Comments.py
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-11-27 12:30:13 +0100
committerTristan Gingold <tgingold@free.fr>2022-11-27 12:30:41 +0100
commitb7c64a01147ffb7127b6ba94b04aa437f313f3be (patch)
treeaac91b016e8f01c3ba1f751a20332a24de4e62bc /testsuite/pyunit/libghdl/Comments.py
parentad92a80324101d8c85b19d86b08297765df42ef4 (diff)
downloadghdl-b7c64a01147ffb7127b6ba94b04aa437f313f3be.tar.gz
ghdl-b7c64a01147ffb7127b6ba94b04aa437f313f3be.tar.bz2
ghdl-b7c64a01147ffb7127b6ba94b04aa437f313f3be.zip
testsuite/pyunit/libghdl: add tests for line comments
Diffstat (limited to 'testsuite/pyunit/libghdl/Comments.py')
-rw-r--r--testsuite/pyunit/libghdl/Comments.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/testsuite/pyunit/libghdl/Comments.py b/testsuite/pyunit/libghdl/Comments.py
index d619a042e..594571a5d 100644
--- a/testsuite/pyunit/libghdl/Comments.py
+++ b/testsuite/pyunit/libghdl/Comments.py
@@ -233,6 +233,9 @@ class Instantiate(TestCase):
def test_element_2(self) -> None:
self.checkFile(self._root / "element_2.vhdl")
+ def test_element_3(self) -> None:
+ self.checkFile(self._root / "element_3.vhdl")
+
@expectedFailure
def test_enum_fail(self) -> None:
self.checkFile(self._root / "enum_fail.vhdl")
@@ -250,6 +253,9 @@ class Instantiate(TestCase):
def test_enumlit_2(self) -> None:
self.checkFile(self._root / "enumlit_2.vhdl")
+ def test_enumlit_3(self) -> None:
+ self.checkFile(self._root / "enumlit_3.vhdl")
+
@expectedFailure
def test_func_fail(self) -> None:
self.checkFile(self._root / "func_fail.vhdl")
@@ -274,5 +280,7 @@ class Instantiate(TestCase):
def test_multi1(self) -> None:
self.checkFile(self._root / "multi1.vhdl")
-# TODO: first comment
+ def test_line1(self) -> None:
+ self.checkFile(self._root / "line1.vhdl")
+
# Empty line before to easy cut & put