fix tests

This commit is contained in:
merlokk 2021-06-23 19:12:13 +03:00
commit bbe0fa1a35
2 changed files with 3 additions and 3 deletions

View file

@ -45,9 +45,9 @@ bool CIPURSETest(bool verbose) {
PrintAndLogEx(INFO, "---------------------------"); PrintAndLogEx(INFO, "---------------------------");
if (res) if (res)
PrintAndLogEx(SUCCESS, "\tTest(s) [ %s ]", _GREEN_("ok")); PrintAndLogEx(SUCCESS, " Test(s) [ %s ]", _GREEN_("ok"));
else else
PrintAndLogEx(FAILED, "\tTest(s) [ %s ]", _RED_("fail")); PrintAndLogEx(FAILED, " Test(s) [ %s ]", _RED_("fail"));
return res; return res;
} }

View file

@ -713,7 +713,7 @@ static command_t CommandTable[] = {
{"write", CmdHFCipurseWriteFile, IfPm3Iso14443a, "Write binary file"}, {"write", CmdHFCipurseWriteFile, IfPm3Iso14443a, "Write binary file"},
{"aread", CmdHFCipurseReadFileAttr, IfPm3Iso14443a, "Read file attributes"}, {"aread", CmdHFCipurseReadFileAttr, IfPm3Iso14443a, "Read file attributes"},
{"delete", CmdHFCipurseDeleteFile, IfPm3Iso14443a, "Delete file"}, {"delete", CmdHFCipurseDeleteFile, IfPm3Iso14443a, "Delete file"},
{"test", CmdHFCipurseTest, IfPm3Iso14443a, "Tests"}, {"test", CmdHFCipurseTest, AlwaysAvailable, "Tests"},
{NULL, NULL, 0, NULL} {NULL, NULL, 0, NULL}
}; };