Skip to content

Commit

Permalink
Fixed the test for real.
Browse files Browse the repository at this point in the history
  • Loading branch information
dimacurrentai committed Apr 28, 2024
1 parent d39ccf2 commit 9b1c2be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test_c5t_dlib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ TEST(DLibTest, Test1_Smoke) {
"test1", [&](C5T_DLib& dlib) { return dlib.CallReturningOptional<std::string()>("NoSuchFunction"); });
ASSERT_FALSE(Exists(s2));

Optional<std::string> const s3 =
C5T_DLIB_CALL("no_such_lib", [&](C5T_DLib& dlib) { return dlib.CallOrDefault<std::string()>("ShouldReturnOK"); });
Optional<std::string> const s3 = C5T_DLIB_CALL(
"no_such_lib", [&](C5T_DLib& dlib) { return dlib.CallReturningOptional<std::string()>("ShouldReturnOK"); });
ASSERT_FALSE(Exists(s3));

std::string const s4 = C5T_DLIB_CALL(
Expand Down

0 comments on commit 9b1c2be

Please sign in to comment.