File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -57,16 +57,16 @@ MooseModelDescriptionTest >> testOppositeOfOppositePropertyIsMyself [
57
57
58
58
{ #category : #tests }
59
59
MooseModelDescriptionTest >> testOppositePropertyExist [
60
- | allSelector |
61
-
62
- allSelector := SystemNavigation new allMethods select: [:e | e hasPragmaNamed: #FMProperty:type:opposite: ].
63
60
64
- self assert: (allSelector reject: [ :s || pragma |
65
- pragma := self msePropertyPragmaFor: s.
66
- [ pragma arguments second asClass includesSelector: pragma arguments third ]
67
- on: NotFound
68
- do: [ true ] " type: is not a class, e.g. FM3.Property"
69
- ]) size
70
- equals: 0 .
61
+ | allSelector |
62
+ allSelector := SystemNavigation new allMethods select: [ :e | e hasPragmaNamed: #FMProperty:type:opposite: ].
71
63
64
+ self
65
+ assert: (allSelector reject: [ :s |
66
+ | pragma |
67
+ pragma := self msePropertyPragmaFor: s.
68
+ [ (self class environment at: pragma arguments second) includesSelector: pragma arguments third ]
69
+ on: NotFound
70
+ do: [ " type: is not a class, e.g. FM3.Property" true ] ]) size
71
+ equals: 0
72
72
]
You can’t perform that action at this time.
0 commit comments