diff --git a/test/value_to.cpp b/test/value_to.cpp index 5eb0b1efa..5d6fcc34a 100644 --- a/test/value_to.cpp +++ b/test/value_to.cpp @@ -564,6 +564,8 @@ class value_to_test BOOST_TEST( paths == (Paths{ "from/here", "to/there", "", "c:/" , "..", "../"}) ); + BOOST_TEST_THROWS_WITH_LOCATION( + value_to( value(1), ctx... )); #endif // BOOST_NO_CXX17_HDR_FILESYSTEM }