From b637dd7b4e2e8fccdfe212eb3e94bd5e2f6cd09e Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Sat, 19 Jan 2019 16:23:40 -0800 Subject: Add tests for the storage command This change adds two tests for the storage command. The first one verifies that a proper error message is emitted if a storage command is attempted on a Pro device. The second one checks the output of the status subcommand and expected changes to it when opening or closing the encrypted volume. --- nitrocli/src/tests/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'nitrocli/src/tests/mod.rs') diff --git a/nitrocli/src/tests/mod.rs b/nitrocli/src/tests/mod.rs index 1f30e22..a3855f8 100644 --- a/nitrocli/src/tests/mod.rs +++ b/nitrocli/src/tests/mod.rs @@ -42,6 +42,7 @@ mod pin; mod pws; mod run; mod status; +mod storage; /// A trait simplifying checking for expected errors. pub trait UnwrapError { -- cgit v1.2.1