diff options
author | Tad Fisher <tadfisher@gmail.com> | 2017-03-20 10:59:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-20 10:59:42 -0700 |
commit | b6b23de6f787c3fc244484f613f84ffa6e3cb201 (patch) | |
tree | 65f884da2840a54122c6ad09701d4f6a845139e2 /test/uri.t | |
parent | 310322fdeee57330e92afdf0810ac5200163d08d (diff) | |
parent | 4cc027a139396742983405782ab70a766dcaffb0 (diff) |
Merge pull request #20 from tadfisher/default-passname
Generate default passname from URI label; remove url param
Diffstat (limited to 'test/uri.t')
-rwxr-xr-x | test/uri.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" ]] ' |