-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Milestone
Description
Is your feature request related to a problem? Please describe.
I have a use case on my feature tests where I usually specify the response body in a doc string such as:
And the response body should be:
"""json
{
"errors": [{
"title": "field X cannot be empty",
"status": "422"
}]
}
"""
But when I run the formatter, it removes the json after the triple double quotes. But I use this to parse different types of responses. It returns:
And the response body should be:
"""
{
"errors": [{
"title": "field X cannot be empty",
"status": "422"
}]
}
"""
Describe the solution you'd like
I would love to have a flag to disable this behaviour and leave whatever I have after the """.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels