diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2020-06-13 22:45:39 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2020-06-13 22:45:39 +0200 |
commit | d36b9d032d0f646c45e3d9d0dafcf19c79361b18 (patch) | |
tree | e94a0bbdc07e242370c70436f0bf634bebc1d34d /unittest/test_offline.cc | |
parent | a616ac00c2cd0461d98d49b7a240ec4b73111c7d (diff) | |
parent | 9849224e27c3c82e2f4efb6e491b6975bb4ecb25 (diff) | |
download | libnitrokey-d36b9d032d0f646c45e3d9d0dafcf19c79361b18.tar.gz libnitrokey-d36b9d032d0f646c45e3d9d0dafcf19c79361b18.tar.bz2 |
Merge branch 'master' into meson
Update to latest
Diffstat (limited to 'unittest/test_offline.cc')
-rw-r--r-- | unittest/test_offline.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unittest/test_offline.cc b/unittest/test_offline.cc index 320ad48..3ca3905 100644 --- a/unittest/test_offline.cc +++ b/unittest/test_offline.cc @@ -67,6 +67,10 @@ TEST_CASE("Test C++ side behaviour in offline", "[fast]") { REQUIRE(serial_number.empty()); REQUIRE_THROWS_AS( + i->get_serial_number_as_u32(), DeviceNotConnected + ); + + REQUIRE_THROWS_AS( i->get_status(), DeviceNotConnected ); |