We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31e740e commit 7d878b5Copy full SHA for 7d878b5
1 file changed
tests/pretty_format_json_test.py
@@ -111,9 +111,7 @@ def test_diffing_output(capsys):
111
resource_path = get_resource_path('not_pretty_formatted_json.json')
112
expected_retval = 1
113
expected_out = '''\
114
----
115
-+++
116
-@@ -1,6 +1,9 @@
+--- \n+++ \n@@ -1,6 +1,9 @@
117
{
118
- "foo":
119
- "bar",
@@ -128,7 +126,7 @@ def test_diffing_output(capsys):
128
126
+ "foo": "bar"
129
127
}
130
131
-''' # noqa: W291
+'''
132
expected_err = 'File {} is not pretty-formatted\n'.format(resource_path)
133
134
actual_retval = main([resource_path])
0 commit comments