From 4ba4c6d1e429d72a67a3ebb5e40727d45afc2d87 Mon Sep 17 00:00:00 2001 From: officeyutong Date: Sun, 17 Nov 2024 23:42:33 +0800 Subject: [PATCH] update --- runtime/unit-test/runtime/test_helpers.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runtime/unit-test/runtime/test_helpers.cpp b/runtime/unit-test/runtime/test_helpers.cpp index 849f2567..3fa760f1 100644 --- a/runtime/unit-test/runtime/test_helpers.cpp +++ b/runtime/unit-test/runtime/test_helpers.cpp @@ -53,8 +53,9 @@ TEST_CASE("Test helpers probe_read/probe_write_user/probe_read_str", "[helper]") } SECTION("probe write user") { - REQUIRE(bpftime_probe_write_user((uintptr_t)&buf2, sizeof(buf1), - (uintptr_t)&buf1, 0, 0) == 0); + REQUIRE(bpftime_probe_write_user((uintptr_t)&buf2, + (uintptr_t)&buf1, sizeof(buf1), + 0, 0) == 0); } SECTION("bpf_probe_read_str") {