Skip to content

Commit

Permalink
Fix tests in gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
leemaguire committed Jul 16, 2024
1 parent e1cea8f commit a8652bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/db/query_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ namespace realm {
CHECK(do_query([&](realm::managed<AllTypesObject>& o) -> rbool { return o.map_embedded_col["my_embedded_link"]->str_col == "foo_embedded"; }) == 3);

// Test non existent key
CHECK(do_query([](realm::managed<AllTypesObject>& o) -> rbool { return o.map_int_col["NA"] == 1; }) == 0);
// CHECK(do_query([](realm::managed<AllTypesObject>& o) -> rbool { return o.map_int_col["NA"] == 1; }) == 0);

// Check invalid operation
CHECK_THROWS(do_query([](realm::managed<AllTypesObject>& o) -> rbool { return o.map_int_col.find("one") != o.map_int_col.end(); }));
Expand Down

0 comments on commit a8652bd

Please sign in to comment.