Let's bikeshed std.experimental.testing assertions/checks/whatchamacallits
via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 30 04:58:50 PDT 2015
On Tuesday, 30 June 2015 at 08:06:37 UTC, Atila Neves wrote:
> 1) What's there already, namely `shouldEquals`, `shouldBeIn`,
> etc.
> 2a) Compile-time strings for operators: `should!"=="`,
> `should!"in"`
> 2b) Dicebot's `test!"=="`. `assert` is so much better, I wish
> we could use that.
> 3) Composable ones: should.equals, should.not.equals, or
> another word that isn't "should"
> 4) Anything else?
>
> - snip -
>
> Thoughts? Votes?
I really hate the 3rd persons "s" in "shouldEquals" /
"should.equals". Not only is it grammatically wrong, it's also
inconsistent with "shouldBeIn", which - following the same scheme
- would have to be "shouldIsIn".
More information about the Digitalmars-d
mailing list