2b2da4c67d9db5dbdf2980f9f4a845bfe7465282
- Author
- Michael Aquilina <michaelaquilina@gmail.com>
- Committer
- Michael Aquilina <michaelaquilina@gmail.com>
- Date
Message
Fix typo in test description
Diff
1diff --git a/tests/test_maybeworkon.zunit b/tests/test_maybeworkon.zunit
2index 49ae98dd6cc304b97629edf7136e166938075641..d7df2057e85b1c897e5f655d6c513392254a5dba 100644
3--- a/tests/test_maybeworkon.zunit
4+++ b/tests/test_maybeworkon.zunit
5@@ -3,14 +3,14 @@
6
7 @setup {
8 TEST_VIRTUALENV="$HOME/.virtualenvs/foobar/"
9+ PYTHON_VERSION="$(python3 --version 2>&1)"
10
11 if [[ ! -d "$TEST_VIRTUALENV" ]]; then
12- echo "Creating test virtualenv"
13+ printf "Creating test virtualenv: %s" % "$PYTHON_VERSION"
14 run python -m virtualenv "$TEST_VIRTUALENV" --python=python3
15 fi
16
17 unset AUTOSWITCH_MESSAGE_FORMAT
18- PYTHON_VERSION="$(python3 --version 2>&1)"
19
20 export DISABLE_AUTOSWITCH_VENV="1"
21 load "../autoswitch_virtualenv.plugin.zsh"
22@@ -23,7 +23,7 @@
23 rm -rf "$TARGET"
24 }
25
26-@test '_maybeworkon - do not activate paths which are potentially inscure' {
27+@test '_maybeworkon - do not activate paths which are potentially insecure' {
28 VIRTUAL_ENV=""
29
30 run _maybeworkon "$TARGET/../../../" virtualenv