From b3e4ff7cbae3206f87863a9c0db51163f9bb597b Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Mon, 9 Sep 2019 05:10:30 +0300 Subject: [PATCH] test: install: don't forget to adjust hook tests --- tests/func/test_install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/func/test_install.py b/tests/func/test_install.py index 1ff4ca23a..b4e07f4b8 100644 --- a/tests/func/test_install.py +++ b/tests/func/test_install.py @@ -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" )