Skip to content

Commit fdae061

Browse files
refactor: Inline Variable as it is not paying its rent.
1 parent 1a0b3ca commit fdae061

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Math-Tests-Complex/PMComplexNumberTest.class.st

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -877,10 +877,10 @@ PMComplexNumberTest >> testSquareRootOfZeroIsZero [
877877

878878
{ #category : #'testing - mathematical functions' }
879879
PMComplexNumberTest >> testSquared [
880-
| c c2 |
880+
881+
| c |
881882
c := 6 - 6 i.
882-
c2 := c squared.
883-
self assert: c2 equals: (0 - 72 i)
883+
self assert: c squared equals: 0 - 72 i
884884
]
885885

886886
{ #category : #'testing - arithmetic' }

0 commit comments

Comments
 (0)