Skip to content
Permalink
Browse files

Refactored #deny: to call #deny:description: instead of calling #asse…

…rt:.
  • Loading branch information
juliendelplanque committed Mar 29, 2019
1 parent e2acf6c commit c08aa2fa357397657df07708a4e44de7046b80c3
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/SUnit-Core/TestAsserter.class.st
@@ -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 }

0 comments on commit c08aa2f

Please sign in to comment.
You can’t perform that action at this time.