Open NiallRees opened 1 year ago
You might be interested in https://github.com/15r10nk/inline-snapshot which offers similar functionality to insert_assert
and uses multiline strings when it thinks it should: https://15r10nk.github.io/inline-snapshot/#code-generation
It is sometimes desirable to use a multi line string to improve readability rather than using
\n
, it would be great ifinsert_assert
supported this as a kwarg to replace with a multi line string.