diff --git a/test/src/unit-dml.cpp b/test/src/unit-dml.cpp index d3e1b46..834f569 100644 --- a/test/src/unit-dml.cpp +++ b/test/src/unit-dml.cpp @@ -23,7 +23,7 @@ TEST_CASE("Fields can be added to and retrieved from Records", "[dml]") SECTION("Adding fields with the same name but different types should return nullptr") { auto *field = record->add_field("TestField"); - REQUIRE(record->add_field("TestField") != nullptr); + REQUIRE(record->add_field("TestField") == nullptr); } SECTION("Retreiving fields with the correct type should return the previously added Field")