Commit bb9ab19 1 parent 43141db commit bb9ab19 Copy full SHA for bb9ab19
File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,13 @@ RepositoryBehavior >> assertBoundariesAreValidFrom: aStartingPosition upTo: aMax
43
43
{ #category : ' private - preconditions' }
44
44
RepositoryBehavior >> assertIncludes: inMemoryObject [
45
45
46
- AssertionChecker
47
- enforce: [ ( self countMatching: [ :objectInRepository :criteria | criteria does: objectInRepository equal: inMemoryObject ] ) strictlyPositive ]
48
- because: [ ' <1p> was not found.' expandMacrosWith: inMemoryObject ]
49
- raising: ObjectNotFound
46
+ AssertionChecker
47
+ enforce: [
48
+ ( self countMatching: [ :objectInRepository :criteria |
49
+ criteria does: objectInRepository equal: inMemoryObject ] ) strictlyPositive
50
+ ]
51
+ because: [ ' {1} was not found.' localizedWithAll: { inMemoryObject printString } ]
52
+ raising: ObjectNotFound
50
53
]
51
54
52
55
{ #category : ' private - preconditions' }
You can’t perform that action at this time.
0 commit comments