From 110ecbcea95e556cc22e87c6abee0939e72d6cc9 Mon Sep 17 00:00:00 2001 From: Joshua Scott Date: Thu, 29 Mar 2018 23:23:19 +0100 Subject: [PATCH] test: Fix typo in DML unit tests --- test/src/unit-dml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")