[Seaside-dev] Grease tests for subStrings

Philippe Marschall philippe.marschall at gmail.com
Thu May 25 19:38:34 UTC 2017


On Thu, May 25, 2017 at 12:08 PM, Johan Brichau <johan at inceptive.be> wrote:
> Hi,
>
> First step to release a new version of Seaside, is to release the development version of Grease.
> Working on that, I notice:
>
> With Pharo 6, the method #subStrings: was renamed to #substrings:
>
> However, there is a test in Grease-Tests-Core that verifies the behavior of #subStrings:
>
> If I change that test to use #substrings:, it means Grease expects all dialects to implement a #substrings: method.
>
> My idea is that:
> - either the dialect indeed implements that method
> - Grease-specific dialect packages implement it when necessary
>
> Philippe, I notice you already factored-out any sends of those methods in the dev version of Seaside.
> Does it make sense to keep the test in such a case?

Not really:
https://github.com/SeasideSt/Seaside/issues/844
It was left in there because it's a test for an ANSI method but if we
don't send it a test doesn't make sense.

Cheers
Philippe


More information about the seaside-dev mailing list