Adjusted unit tests

This commit is contained in:
Matthias Koefferlein 2024-05-26 01:17:27 +02:00
parent 81872d41f0
commit b5e2eb253c
1 changed files with 3 additions and 1 deletions

View File

@ -113,7 +113,9 @@ TEST(3)
db::StringRepository::change_string_ref (ref1, "U");
EXPECT_EQ (std::string (s1.text_string ()), "U");
EXPECT_EQ (std::string (s1dup.text_string ()), "X");
// NOTE: as we have a global string repo, modfiying the string reference
// also changes the copy:
EXPECT_EQ (std::string (s1dup.text_string ()), "U");
db::Shape s2a = c2->shapes (l2).insert (s1);