diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-28 19:40:49 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-28 19:40:49 +0000 |
commit | 52df93249f27ae803bada0451d7380bc3d596007 (patch) | |
tree | cbaefc826acc68514d2c16e93666ec639f7e1c5b /src/otp.rs | |
parent | 5d7bb087707915a78149da7492cccd772db2657e (diff) | |
download | nitrokey-rs-52df93249f27ae803bada0451d7380bc3d596007.tar.gz nitrokey-rs-52df93249f27ae803bada0451d7380bc3d596007.tar.bz2 |
Add unwrap_ok macro to replace unwrap in unit tests
The unwrap error message is not very useful. This patch adds the
unwrap_ok macro that is basically the same as unwrap but prints a more
readable error message.
Diffstat (limited to 'src/otp.rs')
0 files changed, 0 insertions, 0 deletions