From bb413bbdaa28e8073f16d71b41c7d1ad9e1b70c0 Mon Sep 17 00:00:00 2001 From: neargye Date: Sat, 3 Apr 2021 00:33:05 +0300 Subject: [PATCH] fix tests --- test/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.cpp b/test/test.cpp index ae1ae41..b520f69 100644 --- a/test/test.cpp +++ b/test/test.cpp @@ -885,7 +885,7 @@ TEST_CASE("NAMEOF_SHORT_TYPE_RTTI") { TEST_CASE("NAMEOF_MEMBER") { REQUIRE(NAMEOF_MEMBER(&SomeStruct::somefield) == "somefield"); REQUIRE(NAMEOF_MEMBER(&SomeStruct::SomeMethod1) == "SomeMethod1"); - REQUIRE(NAMEOF_MEMBER(&Long::LL::field) == "SomeMethod1"); + REQUIRE(NAMEOF_MEMBER(&Long::LL::field) == "field"); constexpr auto member_ptr = &SomeStruct::somefield; REQUIRE(NAMEOF_MEMBER(member_ptr) == "somefield"); }