m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/tests/t0100-insert-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t0100-insert-tests.sh')
-rwxr-xr-xtests/t0100-insert-tests.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/t0100-insert-tests.sh b/tests/t0100-insert-tests.sh
index 5820e45..6194ceb 100755
--- a/tests/t0100-insert-tests.sh
+++ b/tests/t0100-insert-tests.sh
@@ -4,9 +4,9 @@ test_description='Test insert'
. ./setup.sh
test_expect_success 'Test "insert" command' '
- pass init $KEY1 &&
- echo "Hello world" | pass insert -e cred1 &&
- [[ $(pass show cred1) == "Hello world" ]]
+ "$PASS" init $KEY1 &&
+ echo "Hello world" | "$PASS" insert -e cred1 &&
+ [[ $("$PASS" show cred1) == "Hello world" ]]
'
test_done