From bbe0fa1a35aa8baf78b36fa469f356acb807f00a Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Wed, 23 Jun 2021 19:12:13 +0300 Subject: [PATCH] fix tests --- client/src/cipurse/cipursetest.c | 4 ++-- client/src/cmdhfcipurse.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/cipurse/cipursetest.c b/client/src/cipurse/cipursetest.c index 12a6e47e9..c84147002 100644 --- a/client/src/cipurse/cipursetest.c +++ b/client/src/cipurse/cipursetest.c @@ -45,9 +45,9 @@ bool CIPURSETest(bool verbose) { PrintAndLogEx(INFO, "---------------------------"); if (res) - PrintAndLogEx(SUCCESS, "\tTest(s) [ %s ]", _GREEN_("ok")); + PrintAndLogEx(SUCCESS, " Test(s) [ %s ]", _GREEN_("ok")); else - PrintAndLogEx(FAILED, "\tTest(s) [ %s ]", _RED_("fail")); + PrintAndLogEx(FAILED, " Test(s) [ %s ]", _RED_("fail")); return res; } diff --git a/client/src/cmdhfcipurse.c b/client/src/cmdhfcipurse.c index 44c6e3bbe..141b78784 100644 --- a/client/src/cmdhfcipurse.c +++ b/client/src/cmdhfcipurse.c @@ -713,7 +713,7 @@ static command_t CommandTable[] = { {"write", CmdHFCipurseWriteFile, IfPm3Iso14443a, "Write binary file"}, {"aread", CmdHFCipurseReadFileAttr, IfPm3Iso14443a, "Read file attributes"}, {"delete", CmdHFCipurseDeleteFile, IfPm3Iso14443a, "Delete file"}, - {"test", CmdHFCipurseTest, IfPm3Iso14443a, "Tests"}, + {"test", CmdHFCipurseTest, AlwaysAvailable, "Tests"}, {NULL, NULL, 0, NULL} };