Hi
to relax I was going over RB code because we will start to improve the
refactoring.
And I started to add tests (yes the dummy little things that everybody can
write but
that most people prefer to think they do and talk about).
And writing such super super stupid tests
testCheckInvalidMethodName
"Usually used to validate input."
self deny: (RBCondition checkMethodName: 'fofo fo').
self deny: (RBCondition checkMethodName: '123fofo').
"self deny: (RBCondition checkMethodName: 'foo::')."
"self deny: (RBCondition checkMethodName: 'agr:goo:aa').”
checkMethodName: aString
"Return whether the argument aName is can represent a selector"
^ aString isString and: [ RBScanner isSelector: aString ]
I found that RBScanner reports that
#foo:: or 'agr:goo:aa’ is a valid selector :(
So if you **really** want to help pharo this is not that difficult.
Now this is a matter of will.
Stef