mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 10:55:57 -04:00
Fix optional test
This commit is contained in:
parent
909b2bd82f
commit
429c32df89
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user