summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-28 21:50:29 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-28 21:50:29 +0100
commit3df7cc4d199c263d5d9a606ddc211f4935d23e4c (patch)
treee84cd2c06239280f4864149d1799ae745fad042a /test
parenta185f437f42bd0215f212d11a0e23575945ea448 (diff)
feat: API: argument fixes for `throw_*` family of free functions.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'test')
-rw-r--r--test/option.test.cpp4
1 files changed, 2 insertions, 2 deletions
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(""));
}