From a9c3b5a389a249a9ddb62250cdcb8f8edb2f7280 Mon Sep 17 00:00:00 2001 From: Alexander Shalamov Date: Wed, 13 Nov 2019 10:47:41 +0200 Subject: [core] Add evaluated images to styled text sections --- test/text/tagged_string.test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/text') 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"); -- cgit v1.2.1