doctest icon indicating copy to clipboard operation
doctest copied to clipboard

Multi-line props?

Open chris-martin opened this issue 8 years ago • 1 comments

I expected that the multi-line syntax

>>> :{
  ...
:}

would work for property tests as well

prop> :{
  ...
:}

But this apparently doesn't parse.

Would it be possible to make this work? Or is there any other way to express property checks that span multiple lines?

chris-martin avatar Feb 29 '16 11:02 chris-martin

Yes, this is an absolute must-have! At the moment I'm having to declare the properties in the source file and then reference them in the comment. 👎

buggymcbugfix avatar Oct 26 '17 12:10 buggymcbugfix