summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2014-09-23 13:32:40 +0200
committerFriedemann Kleint <Friedemann.Kleint@digia.com>2014-09-23 17:04:15 +0200
commita1a678078efc2b5c3d5430946acda7f8ceca1977 (patch)
treec76390ac4d7449a911e5f99974924efb61b63671 /tests/auto
parent48a4a67e8de835d4811560dc99398e365317d490 (diff)
Fix MSVC source code encoding warnings in tst_qtjson.
tst_qtjson.cpp(2711) : warning C4566: character represented by universal-character-name '\u2090' cannot be represented in the current code page (1252) tst_qtjson.cpp(2712) : warning C4566: character represented by universal-character-name '\u2090' cannot be represented in the current code page (1252) tst_qtjson.cpp(2713) : warning C4566: character represented by universal-character-name '\u2090' cannot be represented in the current code page (1252) Task-number: QTBUG-41100 Change-Id: I193dc48236bdd3857657a5684178630f0e1dab6d Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/corelib/json/tst_qtjson.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/corelib/json/tst_qtjson.cpp b/tests/auto/corelib/json/tst_qtjson.cpp
index ce272cde03..4f73e93177 100644
--- a/tests/auto/corelib/json/tst_qtjson.cpp
+++ b/tests/auto/corelib/json/tst_qtjson.cpp
@@ -2708,9 +2708,9 @@ void tst_QtJson::objectInitializerList()
void tst_QtJson::unicodeKeys()
{
QByteArray json = "{"
- "\"x\u2090_1\": \"hello_1\","
- "\"y\u2090_2\": \"hello_2\","
- "\"T\u2090_3\": \"hello_3\","
+ "\"x\\u2090_1\": \"hello_1\","
+ "\"y\\u2090_2\": \"hello_2\","
+ "\"T\\u2090_3\": \"hello_3\","
"\"xyz_4\": \"hello_4\","
"\"abc_5\": \"hello_5\""
"}";