aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 81a98bc..7c53aa8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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()));
}