Skip to content

Commit

Permalink
Merge pull request #578 from jecisc/organizer
Browse files Browse the repository at this point in the history
Do not use `RPackage organizer`
  • Loading branch information
akevalion authored Jul 27, 2023
2 parents 2e5eb2e + 3a1e6b8 commit ef9af6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Roassal3-Global-Tests/RSRoassal3Test.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Class {
RSRoassal3Test >> testInitializeInRoassal [

| pkgs methods violating |
pkgs := RPackage organizer packages select: [ :pkg | 'Roassal3*' match: pkg name ].
pkgs := self class packageOrganizer packages select: [ :pkg | 'Roassal3*' match: pkg name ].
methods := pkgs flatCollect: [ :pkg | pkg definedClasses flatCollect: [ :class | class methods ] ].
violating := methods select: [ :method | method selector = #initialize and: [ method protocolName ~= #initialization ] ].
self assert: violating isEmpty description: 'Roassal initialize methods should be categorized in initialization'
Expand Down

0 comments on commit ef9af6d

Please sign in to comment.