I would love to have a syntax in Motoko for multi-line test strings, without having to surround each line in quotes and use #
, or use a 3rd party tool to convert it to a format that uses \n
characters.
For example, right now I’m writing tests for stripping out pieces of error messages. I’d like to create a variable, open "
, copy/paste in the error message, and then close "
. I’d imagine there are a million other reasons for wanting to do this type of copy/paste (handling regex, etc.).
If this already exists - how can I use it?