From 3df7cc4d199c263d5d9a606ddc211f4935d23e4c Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 28 Dec 2025 21:50:29 +0100 Subject: feat: API: argument fixes for `throw_*` family of free functions. Signed-off-by: Amlal El Mahrouss --- test/option.test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/option.test.cpp b/test/option.test.cpp index 0e654b1..1869d24 100644 --- a/test/option.test.cpp +++ b/test/option.test.cpp @@ -13,12 +13,12 @@ BOOST_AUTO_TEST_CASE(option_should_fail) { - ocl::option opt(ocl::eval_false()); + ocl::option opt(ocl::eval_false()); BOOST_CHECK_THROW(opt.expect(""), std::exception); } BOOST_AUTO_TEST_CASE(option_should_succeed) { - ocl::option opt(ocl::eval_true()); + ocl::option opt(ocl::eval_true()); BOOST_CHECK_NO_THROW(opt.expect("")); } -- cgit v1.2.3