From ad075a56f924b9b40c09ddff68a940655dc97c33 Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Thu, 24 Nov 2016 14:45:22 +0900 Subject: [PATCH] Suppress MSVC warnings in test. --- tests/test_xiphcomment.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_xiphcomment.cpp b/tests/test_xiphcomment.cpp index 64ae0b21..386a3e67 100644 --- a/tests/test_xiphcomment.cpp +++ b/tests/test_xiphcomment.cpp @@ -98,8 +98,8 @@ public: map[""] = String("invalid key: empty string"); map["A=B"] = String("invalid key: contains '='"); map["A~B"] = String("invalid key: contains '~'"); - map["A\x7F\B"] = String("invalid key: contains '\x7F'"); - map[L"A\x3456\B"] = String("invalid key: Unicode"); + map["A\x7F" "B"] = String("invalid key: contains '\x7F'"); + map[L"A\x3456" "B"] = String("invalid key: Unicode"); Ogg::XiphComment cmt; PropertyMap unsuccessful = cmt.setProperties(map); @@ -113,8 +113,8 @@ public: cmt.addField("", "invalid key: empty string"); cmt.addField("A=B", "invalid key: contains '='"); cmt.addField("A~B", "invalid key: contains '~'"); - cmt.addField("A\x7F\B", "invalid key: contains '\x7F'"); - cmt.addField(L"A\x3456\B", "invalid key: Unicode"); + cmt.addField("A\x7F" "B", "invalid key: contains '\x7F'"); + cmt.addField(L"A\x3456" "B", "invalid key: Unicode"); CPPUNIT_ASSERT_EQUAL(0U, cmt.fieldCount()); } -- 2.40.0