Skip to content

Commit 0225913

Browse files
committed
Fixed ordering in asserts for workon tests
1 parent d4139aa commit 0225913

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_workon.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ test_virtualenvwrapper_show_workon_options () {
6868
mkdir "$WORKON_HOME/not_env"
6969
(cd "$WORKON_HOME"; ln -s env1 link_env)
7070
envs=$(virtualenvwrapper_show_workon_options | tr '\n' ' ')
71-
assertSame "env1 env2 link_env env with space " "$envs"
71+
assertSame "env with space env1 env2 link_env " "$envs"
7272
rmdir "$WORKON_HOME/not_env"
7373
rm -f "$WORKON_HOME/link_env"
7474
}
@@ -79,7 +79,7 @@ test_virtualenvwrapper_show_workon_options_grep_options () {
7979
export GREP_OPTIONS="--count"
8080
envs=$(virtualenvwrapper_show_workon_options | tr '\n' ' ')
8181
unset GREP_OPTIONS
82-
assertSame "env1 env2 link_env env with space " "$envs"
82+
assertSame "env with space env1 env2 link_env " "$envs"
8383
rmdir "$WORKON_HOME/not_env"
8484
rm -f "$WORKON_HOME/link_env"
8585
}
@@ -95,7 +95,7 @@ test_virtualenvwrapper_show_workon_options_chpwd () {
9595
}
9696
mkdir "$WORKON_HOME/not_env"
9797
envs=$(virtualenvwrapper_show_workon_options | tr '\n' ' ')
98-
assertSame "env1 env2 env with space " "$envs"
98+
assertSame "env with space env1 env2 " "$envs"
9999
rmdir "$WORKON_HOME/not_env"
100100
rm -f "$WORKON_HOME/link_env"
101101
}

0 commit comments

Comments
 (0)