diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-11-13 10:47:41 +0200 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-12-02 17:11:49 +0200 |
commit | a9c3b5a389a249a9ddb62250cdcb8f8edb2f7280 (patch) | |
tree | 822eb59b22229f0beed4d10e39089da036f29172 /test | |
parent | a01ecc92a079cb488d5f24d374d82e5fc34fe14b (diff) | |
download | qtlocation-mapboxgl-a9c3b5a389a249a9ddb62250cdcb8f8edb2f7280.tar.gz |
[core] Add evaluated images to styled text sections
Diffstat (limited to 'test')
-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"); |