diff --git a/test/x4/debug.cpp b/test/x4/debug.cpp index 25dd52d64..244d930cc 100644 --- a/test/x4/debug.cpp +++ b/test/x4/debug.cpp @@ -57,12 +57,6 @@ struct my_attribute { alive = false; } - - friend std::ostream& operator<<(std::ostream & os, my_attribute const & attr) - { - attr.access(); - return os << "my_attribute"; - } }; } // anonymous diff --git a/test/x4/expect.cpp b/test/x4/expect.cpp index 1721decaf..86fe5b483 100644 --- a/test/x4/expect.cpp +++ b/test/x4/expect.cpp @@ -375,7 +375,7 @@ TEST_CASE("expect") { alloy::tuple attr; - X4_TEST_ATTR_SUCCESS_PASS(" a, b, c", char_ >> ',' > char_ >> ',' > char_, space, attr); + X4_TEST_ATTR_SUCCESS_PASS(" a, b, c", char_ >> ',' >> expect[char_] >> ',' >> expect[char_], space, attr); CHECK((alloy::get<0>(attr) == 'a')); CHECK((alloy::get<1>(attr) == 'b')); CHECK((alloy::get<2>(attr) == 'c'));