Skip to content

Commit 51d28bd

Browse files
committed
Fix output for scope collision variables
This fixes unit test checking when scope collision causes variable renaming.
1 parent 139861f commit 51d28bd

File tree

2 files changed

+3
-3
lines changed
  • regression/contracts

2 files changed

+3
-3
lines changed

regression/contracts/assigns_enforce_scoping_01/test.desc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ main.c
33
--enforce-all-contracts
44
^EXIT=10$
55
^SIGNAL=0$
6-
^\[f1.\d+\] line \d+ Check that b is assignable: SUCCESS$
7-
^\[f1.\d+\] line \d+ Check that \*b is assignable: SUCCESS$
6+
^\[f1.\d+\] line \d+ Check that f1\$\$1\$\$1\$\$b is assignable: SUCCESS$
7+
^\[f1.\d+\] line \d+ Check that \*f1\$\$1\$\$1\$\$b is assignable: SUCCESS$
88
^\[f1.\d+\] line \d+ Check that \*b is assignable: FAILURE$
99
^VERIFICATION FAILED$
1010
--

regression/contracts/assigns_enforce_scoping_02/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ main.c
33
--enforce-all-contracts
44
^EXIT=10$
55
^SIGNAL=0$
6-
^\[f1.\d+\] line \d+ Check that \*b is assignable: SUCCESS$
6+
^\[f1.\d+\] line \d+ Check that \*f1\$\$1\$\$1\$\$b is assignable: SUCCESS$
77
^\[f1.\d+\] line \d+ Check that \*b is assignable: FAILURE$
88
^VERIFICATION FAILED$
99
--

0 commit comments

Comments
 (0)