usametov / specs

Automatically exported from code.google.com/p/specs
Other
0 stars 0 forks source link

add mustRemain #182

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Would be nice to have a mustRemail matcher, which would work the same as 
mustBe. This will make it clearer to read

x mustRemain 0

tx.,

Raphael

Original issue reported on code.google.com by rpar...@gmail.com on 7 Jun 2011 at 5:43

GoogleCodeExporter commented 8 years ago
Hi Raphael, 

I'm sorry but I don't do anymore enhancement on the specs project, in favor to 
specs2: http://specs2.org.

That being said, you can follow specs direction:

http://code.google.com/p/specs/source/browse/trunk/src/main/scala/org/specs/spec
ification/ExpectableFactory.scala

and add an implicit conversion to allow this syntax.

Original comment by etorrebo...@gmail.com on 7 Jun 2011 at 6:01