Remove double space character

This commit is contained in:
Carsten Grohmann 2023-03-13 11:05:58 +01:00
parent 4caea677c6
commit b579c53e32
2 changed files with 2 additions and 2 deletions

View file

@ -15,6 +15,6 @@ if [ -x "$INSTALL_PYTHON" ]; then
elif command -v pre-commit > /dev/null; then elif command -v pre-commit > /dev/null; then
exec pre-commit "${ARGS[@]}" exec pre-commit "${ARGS[@]}"
else else
echo '`pre-commit` not found. Did you forget to activate your virtualenv?' 1>&2 echo '`pre-commit` not found. Did you forget to activate your virtualenv?' 1>&2
exit 1 exit 1
fi fi

View file

@ -291,7 +291,7 @@ def test_environment_not_sourced(tempdir_factory, store):
ret, out = git_commit(env=env, check=False) ret, out = git_commit(env=env, check=False)
assert ret == 1 assert ret == 1
assert out == ( assert out == (
'`pre-commit` not found. ' '`pre-commit` not found. '
'Did you forget to activate your virtualenv?\n' 'Did you forget to activate your virtualenv?\n'
) )