Mask some unicode tests on MSVC

This commit is contained in:
Dmitry Marakasov 2016-05-19 16:10:20 +03:00
parent 5acf8c7779
commit a72d259abf

View File

@ -89,9 +89,11 @@ BEGIN_TEST(int, char*[])
{ {
// Glyphs provided // Glyphs provided
EXPECT_TRUE(font.IsGlyphProvided(u'A')); EXPECT_TRUE(font.IsGlyphProvided(u'A'));
#ifndef _MSC_VER // MSVC has problems with unicode literals
EXPECT_TRUE(font.IsGlyphProvided(u'¼')); EXPECT_TRUE(font.IsGlyphProvided(u'¼'));
EXPECT_TRUE(!font.IsGlyphProvided(u'л')); EXPECT_TRUE(!font.IsGlyphProvided(u'л'));
EXPECT_TRUE(!font.IsGlyphProvided(u'Ы')); EXPECT_TRUE(!font.IsGlyphProvided(u'Ы'));
#endif
} }
{ {