From 5e709997f2c82ff210f4c024c0419a3de695ee99 Mon Sep 17 00:00:00 2001 From: artemp Date: Tue, 21 Feb 2017 13:37:22 +0100 Subject: [PATCH] add explicit `u8` (utf8) qualifier --- test/unit/text/shaping.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/text/shaping.cpp b/test/unit/text/shaping.cpp index 32cb402c6..409448af9 100644 --- a/test/unit/text/shaping.cpp +++ b/test/unit/text/shaping.cpp @@ -69,19 +69,19 @@ TEST_CASE("shaping") //std::vector> expected = // {{977,0}, {1094,3}, {1038,4}, {1168,4}, {9,7}, {3,8}, {11,9}, {68,10}, {69,11}, {70,12}, {12,13}}; // expected results if "NotoSansTibetan-Regular.ttf is registered^^ - test_shaping(fontset, fm, expected, "སྤུ་ཧྲེང (abc)"); + test_shaping(fontset, fm, expected, u8"སྤུ་ཧྲེང (abc)"); } { std::vector> expected = {{0, 0}, {0, 3}, {0, 4}, {0, 7}, {3, 8}, {11, 9}, {0, 10}, {0, 11}, {0, 12}, {12, 13}}; - test_shaping(fontset, fm, expected, "སྤུ་ཧྲེང (普兰镇)"); + test_shaping(fontset, fm, expected, u8"སྤུ་ཧྲེང (普兰镇)"); } { std::vector> expected = {{68, 0}, {69, 1}, {70, 2}, {3, 3}, {11, 4}, {0, 5}, {0, 6}, {0, 7}, {12, 8}}; - test_shaping(fontset, fm, expected, "abc (普兰镇)"); + test_shaping(fontset, fm, expected, u8"abc (普兰镇)"); } {