ah, this is not a new test but one that doesn't work anymore as
expected:
--------
testSupplyAnswerUsingRegexMatchOfQuestion
(String includesSelector: #matchesRegex:) ifFalse: [^ self].
self should: [true = ([self confirm: 'You like Smalltalk?']
valueSupplyingAnswer: #('.*Smalltalk\?' true))]
--------
#valueSupplyingAnswer: does not match in this case. Before introducing
the regex package, the test just exited at the first line.
So, what we should do is to make valueSupplyingAnswer: actually use
regexps instead of String's #match: function.
I filed a report:
http://code.google.com/p/pharo/issues/detail?id=295
Any takers?
Adrian
On Oct 27, 2008, at 09:33 , Adrian Lienhard wrote:
Since version 10114 (or a few versions earlier) BlockContextTest
opens a popup (see attached screensot). Is this a joke? Please
remove this.
Adrian
<Picture 1.png>
___________________
http://www.adrian-lienhard.ch/
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project