We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe7a5d1 commit 5326298Copy full SHA for 5326298
tests/test_ls.sh
@@ -92,5 +92,11 @@ test_lsvirtualenv_space_in_env_name () {
92
assertTrue "Did not see expected message in \"$output\"" "cat \"$WORKON_HOME/output\" | grep -q ' env with space'"
93
}
94
95
+test_lsvirtualenv_blank_lines () {
96
+ # There should be no blank lines in the list of virtualenvs
97
+ mkvirtualenv "at-least-one-env" >/dev/null 2>&1
98
+ assertFalse "Found blank line in virtualenvwrapper_show_workon_options output" "virtualenvwrapper_show_workon_options | grep -q '^$'"
99
+}
100
+
101
102
. "$test_dir/shunit2"
0 commit comments