From: Robin Ole Heinemann Date: Tue, 18 May 2021 19:15:02 +0000 (+0200) Subject: tests.test_hdl_cd.ClockDomainTestCase.test_name: actually test domain with cd_ prefix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b93a54ac58f433ec7833766f21dd7c9daaf04ad7;p=nmigen.git tests.test_hdl_cd.ClockDomainTestCase.test_name: actually test domain with cd_ prefix --- diff --git a/tests/test_hdl_cd.py b/tests/test_hdl_cd.py index 4e93fbc..51cf845 100644 --- a/tests/test_hdl_cd.py +++ b/tests/test_hdl_cd.py @@ -15,7 +15,7 @@ class ClockDomainTestCase(FHDLTestCase): self.assertEqual(pix.clk.name, "pix_clk") self.assertEqual(pix.rst.name, "pix_rst") cd_pix = ClockDomain() - self.assertEqual(pix.name, "pix") + self.assertEqual(cd_pix.name, "pix") dom = [ClockDomain("foo")][0] self.assertEqual(dom.name, "foo") with self.assertRaisesRegex(ValueError,