Skip to content

Commit

Permalink
Cleanup testCoverageMethod
Browse files Browse the repository at this point in the history
- use assert:equals:

Fix #4235
  • Loading branch information
astares committed Aug 7, 2019
1 parent 455ebce commit 5c7cd19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reflectivity-Tests/CoverageDemoTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ CoverageDemoTest >> testCoverageMethod [
(ReflectivityExamples>>#exampleMethod) ast link: link.

self deny: (ReflectivityExamples>>#exampleMethod) ast hasBeenExecuted.
self assert: ReflectivityExamples new exampleMethod = 5.
self assert: ReflectivityExamples new exampleMethod equals: 5.
self assert: (ReflectivityExamples>>#exampleMethod) ast hasBeenExecuted.
]

0 comments on commit 5c7cd19

Please sign in to comment.