Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi line string option to insert_assert #140

Open
NiallRees opened this issue Sep 11, 2023 · 1 comment
Open

Add multi line string option to insert_assert #140

NiallRees opened this issue Sep 11, 2023 · 1 comment

Comments

@NiallRees
Copy link

It is sometimes desirable to use a multi line string to improve readability rather than using \n, it would be great if insert_assert supported this as a kwarg to replace with a multi line string.

@alexmojaki
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants