From dd6686bfab51122d187d9d54761959212c78aa7a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 7 Oct 2017 10:13:40 +0200 Subject: test3.cc: fix syntax error Closes #72 Signed-off-by: Igor Gnatenko --- unittest/test3.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'unittest') diff --git a/unittest/test3.cc b/unittest/test3.cc index 9e0ef11..b5289f7 100644 --- a/unittest/test3.cc +++ b/unittest/test3.cc @@ -113,7 +113,7 @@ TEST_CASE("write general config", "[pronew]") { auto p = get_payload(); p.enable_user_password = 1; REQUIRE_THROWS( - WriteGeneralConfig::CommandTransaction::run(stick, p); + WriteGeneralConfig::CommandTransaction::run(stick, p) ); strcpyT(p.temporary_admin_password, temporary_password); WriteGeneralConfig::CommandTransaction::run(stick, p); @@ -154,7 +154,7 @@ TEST_CASE("authorize user HOTP", "[pronew]") { auto p3 = get_payload(); p3.slot_number = 0 + 0x10; REQUIRE_THROWS( - GetHOTP::CommandTransaction::run(stick, p3); + GetHOTP::CommandTransaction::run(stick, p3) ); strcpyT(p3.temporary_user_password, temporary_password); auto code_response = GetHOTP::CommandTransaction::run(stick, p3); @@ -205,7 +205,7 @@ TEST_CASE("authorize user TOTP", "[pronew]") { p_get_totp.slot_number = 0 + 0x20; REQUIRE_THROWS( - GetTOTP::CommandTransaction::run(stick, p_get_totp); + GetTOTP::CommandTransaction::run(stick, p_get_totp) ); strcpyT(p_get_totp.temporary_user_password, temporary_password); @@ -216,4 +216,4 @@ TEST_CASE("authorize user TOTP", "[pronew]") { auto code = GetTOTP::CommandTransaction::run(stick, p_get_totp); REQUIRE(code.data().code == 94287082); -} \ No newline at end of file +} -- cgit v1.2.3