test: install: don't forget to adjust hook tests

This commit is contained in:
Ruslan Kuprieiev
2019-09-09 05:10:30 +03:00
committed by GitHub
parent 79cd3d670f
commit b3e4ff7cba
+2 -2
View File
@@ -39,7 +39,7 @@ class TestInstall(object):
expected_script = (
"#!/bin/sh\n"
"echo hello\n"
'[ "$3" == "0" ]'
'[ "$3" = "0" ]'
' || [ -z "$(git ls-files .dvc)" ]'
" || exec dvc checkout\n"
)
@@ -53,7 +53,7 @@ class TestInstall(object):
expected_script = (
"#!/bin/sh\n"
'[ "$3" == "0" ]'
'[ "$3" = "0" ]'
' || [ -z "$(git ls-files .dvc)" ]'
" || exec dvc checkout\n"
)