aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-01-29 18:51:57 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-01-29 18:51:57 +0100
commitd6c05b7279c521514bde5f43ea4a9550ca150018 (patch)
tree4802f057b2b546260bcc327e6449448e1f8f2ce0
parent989c9d610ce47fa6eb30cff5ca5a4c361354d456 (diff)
downloadlibnitrokey-d6c05b7279c521514bde5f43ea4a9550ca150018.tar.gz
libnitrokey-d6c05b7279c521514bde5f43ea4a9550ca150018.tar.bz2
Fix Capture for Catch v2.0
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r--unittest/test_HOTP.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/test_HOTP.cc b/unittest/test_HOTP.cc
index a4f42d2..520faaf 100644
--- a/unittest/test_HOTP.cc
+++ b/unittest/test_HOTP.cc
@@ -50,7 +50,7 @@ TEST_CASE("test secret", "[functions]") {
slot_secret[20] = 0;
const char* secretHex = "3132333435363738393031323334353637383930";
hexStringToByte(slot_secret, secretHex);
- CAPTURE(slot_secret);
+ INFO("Secret: " << slot_secret);
REQUIRE(strcmp("12345678901234567890",reinterpret_cast<char *>(slot_secret) ) == 0 );
}