aboutsummaryrefslogtreecommitdiff
path: root/test/uri.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/uri.t')
-rwxr-xr-xtest/uri.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/uri.t b/test/uri.t
index 084b010..089ad3b 100755
--- a/test/uri.t
+++ b/test/uri.t
@@ -8,7 +8,7 @@ test_expect_success 'Shows key URI in single-line passfile' '
uri="otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&issuer=Example"
test_pass_init &&
- "$PASS" otp insert "$uri" passfile &&
+ "$PASS" otp insert passfile <<< "$uri" &&
[[ $("$PASS" otp uri passfile) == "$uri" ]]
'