Simplified test

This commit is contained in:
John Wellbelove 2022-03-23 11:16:02 +00:00
parent aad0dabebe
commit e0c2ba2ab7

View File

@ -332,9 +332,7 @@ namespace
//*************************************************************************
TEST(test_functor)
{
constexpr auto ptr = TestGlobal;
constexpr etl::functor fw1(ptr);
constexpr etl::functor fw1(TestGlobal);
CHECK_EQUAL(2, fw1(1));
}