m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/tests/t0020-show-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t0020-show-tests.sh')
-rwxr-xr-xtests/t0020-show-tests.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/t0020-show-tests.sh b/tests/t0020-show-tests.sh
index a4b782f..81b87b4 100755
--- a/tests/t0020-show-tests.sh
+++ b/tests/t0020-show-tests.sh
@@ -15,6 +15,11 @@ test_expect_success 'Test "show" command with spaces' '
[[ $("$PASS" show "I am a cred with lots of spaces") == "BLAH!!" ]]
'
+test_expect_success 'Test "show" command with unicode' '
+ "$PASS" generate 🏠 &&
+ "$PASS" show | grep -q '🏠'
+'
+
test_expect_success 'Test "show" of nonexistant password' '
test_must_fail "$PASS" show cred2
'