Skip to content

Commit b1bab7b

Browse files
committed
Fix testNoUnusedTemporaryVariablesLeft
1 parent 5faff60 commit b1bab7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReleaseTests/NoUnusedVariablesLeftTest.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ NoUnusedVariablesLeftTest >> testNoUnusedTemporaryVariablesLeft [
5555
m hasTemporaries and: [m ast temporaries anySatisfy: [ :x | x binding isUsed not] ] ].
5656

5757
"No other exceptions beside the ones mentioned here should be allowed"
58-
validExceptions := { MFClassA>>#method. MFClassB>>#method3. MFClassB>>#method2 }.
58+
validExceptions := { MFClassA>>#method. MFClassB>>#method3. MFClassB>>#method2. TemporaryVariableTest>>#testIsReferenced }.
5959
found removeAll: validExceptions.
6060

6161
self assert: found isEmpty description: ('the following methods have unused temporary variables and should be cleaned: ', found asString)

0 commit comments

Comments
 (0)