Skip to content

Commit a20920f

Browse files
committed
Fix the removeAll property
1 parent eab9670 commit a20920f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/ExecutableRequirements-Tests/ExReqRepositoryReportTest.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ ExReqRepositoryReportTest >> testInstallTracingPoints [
7272
self assert: self report tracingPoints isNotEmpty.
7373
self report removeTracingPoints.
7474
self assert: ExReqTracingPoint all isEmpty.
75-
self assert: self report tracingPoints isNotEmpty.
75+
self assert: self report tracingPoints isEmpty.
7676
]
7777

7878
{ #category : 'tests' }

src/ExecutableRequirements/ExReqRepositoryReport.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ ExReqRepositoryReport >> removeTracingPoints [
144144
self tracingPoints do: [ :each |
145145
each preconditionTracingPoint remove.
146146
each postconditionTracingPoint remove ].
147-
self tracingPoints removeAll.
147+
self tracingPoints: {}.
148148
self isRunning: false.
149149
self annouceTracingPointRemoved.
150150
]

0 commit comments

Comments
 (0)