Skip to content

Commit

Permalink
Refactored #deny: to call #deny:description: instead of calling #asse…
Browse files Browse the repository at this point in the history
…rt:.
  • Loading branch information
juliendelplanque committed Mar 29, 2019
1 parent e2acf6c commit c08aa2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/SUnit-Core/TestAsserter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,7 @@ TestAsserter >> defaultTestFailure [
{ #category : #asserting }
TestAsserter >> deny: aBooleanOrBlock [
"to assert something that should not be true"

self assert: aBooleanOrBlock value not
self deny: aBooleanOrBlock description: 'Denial failed'
]

{ #category : #asserting }
Expand Down

0 comments on commit c08aa2f

Please sign in to comment.