aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-09-25 02:09:18 +0200
committerDaniel Mueller <deso@posteo.net>2020-10-11 15:02:46 -0700
commit23f455ab2e36a019ec62450c5b40949663395963 (patch)
treeca5a89abca555e60c9c0bee032740e573154430e /src/tests
parent6fce98ec044241abd1d0f54dca307af6cd9f648f (diff)
downloadnitrocli-23f455ab2e36a019ec62450c5b40949663395963.tar.gz
nitrocli-23f455ab2e36a019ec62450c5b40949663395963.tar.bz2
Support Librem Key
This patch adds the librem device model for the Librem Key.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/mod.rs b/src/tests/mod.rs
index 23eecc5..65983bb 100644
--- a/src/tests/mod.rs
+++ b/src/tests/mod.rs
@@ -76,6 +76,7 @@ impl Nitrocli {
fn model_to_arg(model: nitrokey::Model) -> &'static str {
match model {
+ nitrokey::Model::Librem => "--model=librem",
nitrokey::Model::Pro => "--model=pro",
nitrokey::Model::Storage => "--model=storage",
_ => panic!("Unexpected model in test suite: {}", model),