aboutsummaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
Diffstat (limited to 'unittest')
-rw-r--r--unittest/test_offline.cc2
1 files changed, 1 insertions, 1 deletions
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]);
}
}