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>2021-01-10 21:06:18 -0800
commit3d83b07ca7090817192bcd8f250effc0d0817b2a (patch)
tree8bdaf47908ee4e0526546d65f3531c817c5c87a2 /src/tests
parentf18fdc680c0bc616d64b116abaf2daede613f48b (diff)
downloadnitrocli-3d83b07ca7090817192bcd8f250effc0d0817b2a.tar.gz
nitrocli-3d83b07ca7090817192bcd8f250effc0d0817b2a.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),