← Back to team overview

testtools-dev team mailing list archive

Re: [Merge] lp:~allenap/testtools/lessthan-mismatch-string into lp:testtools

 

To summarize::

 * In trunk, if LessThan(small).match(big) fails, the mismatch says 'small is >= big', which is untrue
 * This should say 'big is >= small' OR 'small is not < big', because those are true facts about the bad state of affairs

Gavin's patch makes it say 'small is not > big'. I think this is just a thinko, reading '>' as 'less than' when it is actually 'greater than'.

There's some discussion above that talks about how the complement of '>' is '<=' (or '<' and '>=', it's easy to get lost). That is, 'not x > y' is equivalent to 'x <= y' and 'not x < y' is equivalent to 'x >= y'. I think we all get this.
-- 
https://code.launchpad.net/~allenap/testtools/lessthan-mismatch-string/+merge/57323
Your team testtools developers is requested to review the proposed merge of lp:~allenap/testtools/lessthan-mismatch-string into lp:testtools.



References