diff options
Diffstat (limited to 'test/text/tagged_string.test.cpp')
-rw-r--r-- | test/text/tagged_string.test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/text/tagged_string.test.cpp b/test/text/tagged_string.test.cpp index da1141f00b..ebf10c47f4 100644 --- a/test/text/tagged_string.test.cpp +++ b/test/text/tagged_string.test.cpp @@ -11,9 +11,9 @@ TEST(TaggedString, Trim) { EXPECT_EQ(basic.rawText(), u"trim that and not this"); TaggedString twoSections; - twoSections.addSection(u" \t\ntrim that", 1.5f, {}); - twoSections.addSection(u" and not this \n\t", 0.5f, {}); - + twoSections.addTextSection(u" \t\ntrim that", 1.5f, {}); + twoSections.addTextSection(u" and not this \n\t", 0.5f, {}); + twoSections.trim(); EXPECT_EQ(twoSections.rawText(), u"trim that and not this"); |