CI: add GCC 12

This commit is contained in:
Benoit Blanchon
2023-08-10 14:36:52 +02:00
parent a8c763c40e
commit fc1f06822c
5 changed files with 27 additions and 2 deletions

View File

@ -25,7 +25,7 @@ TEST_CASE("ResourceManager::saveString()") {
SECTION("Duplicates different strings") {
auto a = saveString(resources, "hello");
auto b = saveString(resources, "world");
REQUIRE(a->data != b->data);
REQUIRE(+a->data != +b->data);
REQUIRE(a->length == 5);
REQUIRE(b->length == 5);
REQUIRE(a->references == 1);