mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-02 13:32:54 +07:00
Fix CI build errors
This commit is contained in:
@@ -3020,7 +3020,9 @@ TEST(AnyTest, BasicOperations) {
|
||||
EXPECT_EQ(42, httplib::any_cast<int>(b));
|
||||
|
||||
// any_cast (value form) throws on type mismatch
|
||||
#ifndef CPPHTTPLIB_NO_EXCEPTIONS
|
||||
EXPECT_THROW(httplib::any_cast<std::string>(b), httplib::bad_any_cast);
|
||||
#endif
|
||||
|
||||
// Copy
|
||||
httplib::any c = b;
|
||||
|
||||
Reference in New Issue
Block a user