Issue#1316: Update tests for rule generic_map_006.

This commit is contained in:
JHertz5 2024-11-13 09:03:42 +00:00
parent 2a2b2b2782
commit 098186cb7f
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ begin
G_GEN_2 => 4,
G_GEN_3 => 5
)
port map (
port map(
PORT_1 => w_port_1,
PORT_2 => w_port_2,
PORT_3 => w_port_3
@ -35,7 +35,7 @@ begin
G_GEN_2 => 4,
G_GEN_3 => 5
)
port map (
port map (
PORT_1 => w_port_1,
PORT_2 => w_port_2,
PORT_3 => w_port_3

View File

@ -27,7 +27,7 @@ class test_generic_map_rule(unittest.TestCase):
self.assertEqual(oRule.name, "generic_map")
self.assertEqual(oRule.identifier, "006")
lExpected = [21, 26, 33, 38]
lExpected = [21, 33]
oRule.analyze(self.oFile)
self.assertEqual(lExpected, utils.extract_violation_lines_from_violation_object(oRule.violations))