summaryrefslogtreecommitdiff
path: root/nitrokey/tests/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'nitrokey/tests/lib.rs')
-rw-r--r--nitrokey/tests/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/nitrokey/tests/lib.rs b/nitrokey/tests/lib.rs
index c92e224..697024d 100644
--- a/nitrokey/tests/lib.rs
+++ b/nitrokey/tests/lib.rs
@@ -1,6 +1,9 @@
+// Copyright (C) 2019 Robin Krahl <robin.krahl@ireas.org>
+// SPDX-License-Identifier: MIT
+
#[test]
fn get_library_version() {
- let version = nitrokey::get_library_version();
+ let version = nitrokey::get_library_version().unwrap();
assert!(version.git.is_empty() || version.git.starts_with("v"));
assert!(version.major > 0);