Fixed shadowing test

This commit is contained in:
Chad Stearns 2020-04-05 17:52:03 -04:00
parent 7d9554e0b6
commit f56a06d53b

View file

@ -356,12 +356,12 @@ mod test_reporting {
Booly is first defined here: Booly is first defined here:
1 Booly : [ Yes, No ] 1 Booly : [ Yes, No ]
^^^^^ ^^^^^^^^^^^^^^^^^^^
But then it's defined a second time here: But then it's defined a second time here:
3 Booly : [ Yes, No, Maybe ] 3 Booly : [ Yes, No, Maybe ]
^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^
Since these variables have the same name, it's easy to use the wrong one on accident. Give one of them a new name."# Since these variables have the same name, it's easy to use the wrong one on accident. Give one of them a new name."#
), ),