Fix nickname test
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
parent
b096fb9533
commit
d2e72deeca
|
@ -33,8 +33,8 @@ TEST_CASE("Get creature variant when unset", "[Library]") {
|
||||||
|
|
||||||
TEST_CASE("Get creature nickname when unset", "[Library]") {
|
TEST_CASE("Get creature nickname when unset", "[Library]") {
|
||||||
auto library = TestLibrary::Get();
|
auto library = TestLibrary::Get();
|
||||||
auto creature = CreateCreature(library, "testSpecies1"_cnc, 1).Create();
|
auto creature = CreateCreature(library, "testSpecies1"_cnc, 1).WithNickname("foo").Create();
|
||||||
REQUIRE(creature->GetNickname() == "testSpecies1");
|
REQUIRE(creature->GetNickname() == "foo");
|
||||||
delete creature;
|
delete creature;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue