diff options
author | Daniel Mueller <deso@posteo.net> | 2019-01-12 13:24:21 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-12 13:24:21 -0800 |
commit | 541819637e0bec0b58b32ed0721d51610a8a7d3b (patch) | |
tree | f0d7d270a4eaca1025709d02a508ef638fb076cf /nitrokey/tests/lib.rs | |
parent | 16ed68c0f5e3ccb330c7a5f7c11781bc7a129b03 (diff) | |
download | nitrocli-541819637e0bec0b58b32ed0721d51610a8a7d3b.tar.gz nitrocli-541819637e0bec0b58b32ed0721d51610a8a7d3b.tar.bz2 |
Update nitrokey crate to 0.3.2
This change updates the nitrokey crate to version 0.3.2.
Import subrepo nitrokey/:nitrokey at 6ea73f29daa5db0215663a0a38334b764863671d
Diffstat (limited to 'nitrokey/tests/lib.rs')
-rw-r--r-- | nitrokey/tests/lib.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nitrokey/tests/lib.rs b/nitrokey/tests/lib.rs new file mode 100644 index 0000000..06de0ad --- /dev/null +++ b/nitrokey/tests/lib.rs @@ -0,0 +1,8 @@ +#[test] +fn get_library_version() { + let version = nitrokey::get_library_version(); + + assert!(!version.git.is_empty()); + assert!(version.git.starts_with("v")); + assert!(version.major > 0); +} |