mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Additional fixes prompted by double-quote-string-fixer.
Signed-off-by: Brett Randall <javabrett@gmail.com>
This commit is contained in:
parent
f5af95cc9d
commit
7d7c9c0fde
4 changed files with 19 additions and 19 deletions
|
|
@ -17,12 +17,12 @@ def test_CalledProcessError_str():
|
|||
)
|
||||
assert str(error) == (
|
||||
"Command: ['git', 'status']\n"
|
||||
"Return code: 1\n"
|
||||
"Expected return code: 0\n"
|
||||
"Output: \n"
|
||||
" stdout\n"
|
||||
"Errors: \n"
|
||||
" stderr\n"
|
||||
'Return code: 1\n'
|
||||
'Expected return code: 0\n'
|
||||
'Output: \n'
|
||||
' stdout\n'
|
||||
'Errors: \n'
|
||||
' stderr\n'
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -32,10 +32,10 @@ def test_CalledProcessError_str_nooutput():
|
|||
)
|
||||
assert str(error) == (
|
||||
"Command: ['git', 'status']\n"
|
||||
"Return code: 1\n"
|
||||
"Expected return code: 0\n"
|
||||
"Output: (none)\n"
|
||||
"Errors: (none)\n"
|
||||
'Return code: 1\n'
|
||||
'Expected return code: 0\n'
|
||||
'Output: (none)\n'
|
||||
'Errors: (none)\n'
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue