From 45b1eec5db3939229f9f3b0a06cd770a396f18e3 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sun, 16 Dec 2018 12:24:23 +0100 Subject: Update login_auto test case Currently, the login_auto test case calls NK_logout before NK_login_auto due to the behavior described in libnitrokey pull request #115 [0]. This behavior has been fixed in version 3.4.1. Therefore this patch removes the NK_logout call. [0] https://github.com/Nitrokey/libnitrokey/pull/115 --- src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 2740cc9..169dac4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,8 +14,6 @@ mod tests { #[test] fn login_auto() { unsafe { - // logout required due to https://github.com/Nitrokey/libnitrokey/pull/115 - NK_logout(); assert_eq!(0, NK_login_auto()); } } -- cgit v1.2.1