From 6f35a5f98174a84bc4d96a98c37f66acc06f5b22 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Mon, 29 Jan 2018 18:53:05 +0100 Subject: Fix bug with different data read Makes occasional fails Signed-off-by: Szczepan Zalega --- unittest/test_offline.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittest') diff --git a/unittest/test_offline.cc b/unittest/test_offline.cc index 2d1fcb3..3ef63d2 100644 --- a/unittest/test_offline.cc +++ b/unittest/test_offline.cc @@ -115,7 +115,7 @@ TEST_CASE("Test helper function - hex_string_to_byte", "[fast]") { REQUIRE(v.size() == sizeof(test_data)); for (int i = 0; i < v.size(); ++i) { INFO("Position i: " << i); - REQUIRE(v.data()[i] == test_data[i]); + REQUIRE(v[i] == test_data[i]); } } -- cgit v1.2.1