diff options
Diffstat (limited to 'nitrocli/src/tests/pws.rs')
-rw-r--r-- | nitrocli/src/tests/pws.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nitrocli/src/tests/pws.rs b/nitrocli/src/tests/pws.rs index 5d0f245..9468dcf 100644 --- a/nitrocli/src/tests/pws.rs +++ b/nitrocli/src/tests/pws.rs @@ -24,10 +24,10 @@ fn set_invalid_slot(device: nitrokey::DeviceWrapper) { let res = Nitrocli::with_dev(device).handle(&["pws", "set", "100", "name", "login", "1234"]); assert_eq!( - res.unwrap_cmd_err(), + res.unwrap_lib_err(), ( Some("Could not write PWS slot"), - nitrokey::CommandError::InvalidSlot + nitrokey::LibraryError::InvalidSlot ) ); } |