Skip to content

Commit

Permalink
Remove workaround for GCC bug 64194; resovles #9
Browse files Browse the repository at this point in the history
  • Loading branch information
jimporter committed Aug 2, 2024
1 parent c9b72bd commit 264a0c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions test/matchers/test_matchers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,6 @@ suite<> test_matchers("matchers", [](auto &_) {
});

subsuite<>(_, "collection", [](auto &_) {
// XXX: Work around GCC bug 64194.
{ auto x = equal_to<const int &>; (void)x; }
{ auto x = greater<const int &>; (void)x; }

_.test("member()", []() {
expect(std::vector<int>{}, is_not(member(0)));
expect(std::vector<int>{1, 2, 3}, member(1));
Expand Down
3 changes: 0 additions & 3 deletions test/suite/test_compiled_suite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ suite<> test_compiled_suite("compiled_suite", [](auto &_) {
);

using compiled_test = basic_test_info<outer_func>;
// XXX: Work around GCC bug 64194.
{ auto x = equal_test_info<compiled_test>; (void)x; }

expect(compiled.name(), equal_to("suite"));
expect(compiled.tests(), each<compiled_test>(
{{ "test 1", nullptr, {skip("2")} },
Expand Down

0 comments on commit 264a0c0

Please sign in to comment.