From 5f01e6c557fede2e1f506eb38ba9bb5be744e0df Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 28 Apr 2022 20:35:04 +0300 Subject: [PATCH] Fix optional test --- .github/workflows/ci.yml | 2 +- tests/test_optional.cc | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d66e24..d085e94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: - name: Build run: cmake --build . - name: Run tests - run: ctest -V || true # TODO: debug failing live_mixer test + run: ctest -V - name: Install run: cmake --install . diff --git a/tests/test_optional.cc b/tests/test_optional.cc index cc81e0c..2a9a734 100644 --- a/tests/test_optional.cc +++ b/tests/test_optional.cc @@ -19,7 +19,6 @@ BEGIN_TEST(int, char*[]) // accessing disengaged fails EXPECT_EXCEPTION(i = o.value(), BadOptionalAccess); - EXPECT_EXCEPTION(i = o.value(), std::logic_error); // value_or test EXPECT_EQUAL(i = o.value_or(234), 234);