So + 1 :) >>> >>> - shouldnt: aBlock raise: anExceptionalEvent >>> whoseDescriptionDoesNotInclude: subString description: aString >>> - shouldnt: aBlock raise: anExceptionalEvent whoseDescriptionIncludes: >>> subString description: aString >>> >>> I honestly cannot wrap my head around these two methods. >> >> They show that the code in the block raises an _informative_ >> exception. So you get a FileNotFound exception... but what was the >> missing file? I don't know! Noone bothered to mention it! > > > no it is #shouldnt: it is the inverse. > the #should:... handler methods are fine, but these specific two methods are > just insane. > I tried to reimplement them without looking at the original definition and I > cannot come up with something that matches the name :) so there is definitely > something wrong with it.
- Re: [Pharo-dev] the return of the strange methods Clément Bera
- Re: [Pharo-dev] the return of the strange methods Max Leske
- Re: [Pharo-dev] the return of the strange methods Frank Shearar
- Re: [Pharo-dev] the return of the strange methods Esteban Lorenzano
- Re: [Pharo-dev] the return of the strange metho... Frank Shearar
- Re: [Pharo-dev] the return of the strange m... Camillo Bruni
- Re: [Pharo-dev] the return of the strange metho... Camille Teruel
- Re: [Pharo-dev] the return of the strange methods Jeff Estep
- Re: [Pharo-dev] the return of the strange methods Camillo Bruni
- Re: [Pharo-dev] the return of the strange methods Stéphane Ducasse
- Re: [Pharo-dev] the return of the strange metho... Nicolas Cellier
- Re: [Pharo-dev] the return of the strange m... Ron Teitelbaum
- Re: [Pharo-dev] the return of the strange m... Igor Stasenko
- Re: [Pharo-dev] the return of the stran... Camille Teruel
- Re: [Pharo-dev] the return of the ... Jan Vrany
- Re: [Pharo-dev] the return of the ... Stéphane Ducasse
- Re: [Pharo-dev] the return of the ... Marcus Denker
- Re: [Pharo-dev] the return of the ... Jan Vrany
- Re: [Pharo-dev] the return of the ... Stéphane Ducasse
- Re: [Pharo-dev] the return of the ... Camillo Bruni
