diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-09-23 13:04:11 +0200 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2020-09-23 13:04:11 +0200 |
commit | 8f037261c096cab27ad2d11c199217620625e09a (patch) | |
tree | 43f5e0048eacbc68df064b3791c8d1e238efca4a /src | |
parent | 6d5ca96e4f401b446b2e9490b6d24de5e639880c (diff) | |
download | nitrokey-sys-rs-8f037261c096cab27ad2d11c199217620625e09a.tar.gz nitrokey-sys-rs-8f037261c096cab27ad2d11c199217620625e09a.tar.bz2 |
Add the Librem Key model to the unit tests
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,8 +27,9 @@ mod tests { fn login() { unsafe { // Unconnected - assert_eq!(0, NK_login(CString::new("S").unwrap().as_ptr())); + assert_eq!(0, NK_login(CString::new("L").unwrap().as_ptr())); assert_eq!(0, NK_login(CString::new("P").unwrap().as_ptr())); + assert_eq!(0, NK_login(CString::new("S").unwrap().as_ptr())); // Unsupported model assert_eq!(0, NK_login(CString::new("T").unwrap().as_ptr())); } |