mirror of https://github.com/SeanOMik/libki.git
test: Fix typo in DML unit tests
This commit is contained in:
parent
190e8d197f
commit
110ecbcea9
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue