test: Fix typo in DML unit tests

This commit is contained in:
Joshua Scott 2018-03-29 23:23:19 +01:00
parent 190e8d197f
commit 110ecbcea9
1 changed files with 1 additions and 1 deletions

View File

@ -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") SECTION("Adding fields with the same name but different types should return nullptr")
{ {
auto *field = record->add_field<BYT>("TestField"); auto *field = record->add_field<BYT>("TestField");
REQUIRE(record->add_field<SHRT>("TestField") != nullptr); REQUIRE(record->add_field<SHRT>("TestField") == nullptr);
} }
SECTION("Retreiving fields with the correct type should return the previously added Field") SECTION("Retreiving fields with the correct type should return the previously added Field")