Fix optional test

This commit is contained in:
Dmitry Marakasov 2022-04-28 20:35:04 +03:00
parent e5459845ad
commit 5f01e6c557
2 changed files with 1 additions and 2 deletions

View File

@ -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 .

View File

@ -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);