Multi line string literals in testing language
Would be nice to have.
Submitted by Tobi Vollebregt on 8 February 2012 at 14:49
Issue Log
On 8 February 2012 at 14:49 Tobi Vollebregt tagged testing
On 8 February 2012 at 15:10 Lennart Kats commented:
String literals where exactly? You can already use "
".
On 8 February 2012 at 15:27 Tobi Vollebregt commented:
Oh, it appears syntactically it is accepted. However, a test like the one displayed below fails, while it succeeds if the string is written on one line as “foo\nbar”.
test bla
!“foo\nbar”
=> “foo
bar”Maybe an issue with insufficient / too much escaping when comparing strings?
On 8 February 2012 at 15:38 Lennart Kats commented:
Ah, so you mean the string literals in the match pattern for strategies. Those may be handled differently from string literals in normal (builder) tests…
Log in to post comments