Browse Source

Allow niladic blocks in #will:.

Herby Vojčík 6 năm trước cách đây
mục cha
commit
4bfb4bf856
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Znock/ZnockExpectation.class.st

+ 1 - 1
src/Znock/ZnockExpectation.class.st

@@ -20,7 +20,7 @@ ZnockExpectation >> customizeResponseBlock: anObject [
 
 { #category : #operations }
 ZnockExpectation >> customizeResponseFromRequest: aZnRequest [
-	customizeResponseBlock ifNotNil: [ customizeResponseBlock value: aZnRequest value: response ]
+	customizeResponseBlock ifNotNil: [ customizeResponseBlock cull: aZnRequest cull: response ]
 ]
 
 { #category : #accessing }