Skip to content

Commit 866ef2e

Browse files
committed
Fix test invocation for zsh
Replace [] with test to make it work properly with zsh Change-Id: I5316105e1ae82a2612e2f4f2a8d840854b84cc09
1 parent 6570539 commit 866ef2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_project_cd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ test_space_in_path () {
4646
mkproject "myproject" >/dev/null 2>&1
4747
cd "$WORKON_HOME"
4848
cdproject
49-
[ "$PROJECT_HOME/myproject" == "$(pwd)" ]
49+
test "$PROJECT_HOME/myproject" = "$PWD"
5050
)
5151
assertTrue "Did not cd to project directory" $?
5252
}

0 commit comments

Comments
 (0)