Skip to content

Commit 0f07547

Browse files
committed
Issue#1533: Updated tests for variable_403 to protect against failure case.
1 parent b897399 commit 0f07547

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/variable/rule_403_test_input.fixed.vhd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ begin
4747
others => 'X'
4848
);
4949

50+
variable v_result : string(1 to
51+
2);
52+
5053
begin
5154

5255
end process;

tests/variable/rule_403_test_input.vhd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ begin
3838
others => 'X'
3939
);
4040

41+
variable v_result : string(1 to
42+
2);
43+
4144
begin
4245

4346
end process;

0 commit comments

Comments
 (0)