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.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/nitrokey/tests/lib.rs b/nitrokey/tests/lib.rs
index 06de0ad..c92e224 100644
--- a/nitrokey/tests/lib.rs
+++ b/nitrokey/tests/lib.rs
@@ -2,7 +2,6 @@
fn get_library_version() {
let version = nitrokey::get_library_version();
- assert!(!version.git.is_empty());
- assert!(version.git.starts_with("v"));
+ assert!(version.git.is_empty() || version.git.starts_with("v"));
assert!(version.major > 0);
}