diff options
author | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2012-03-06 06:13:10 +0000 |
---|---|---|
committer | arseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640> | 2012-03-06 06:13:10 +0000 |
commit | fdc03d39abdeeeadc7e0d47b49462464ffa3cd85 (patch) | |
tree | 85aa7269e5861132898494984f415b430a19338d /tests/test_write.cpp | |
parent | 6e02258ef6fc8c99f949ba0ed7617d006725d3b5 (diff) |
tests: Fixed compilation errors for BadaSDK
git-svn-id: http://pugixml.googlecode.com/svn/trunk@839 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_write.cpp')
-rw-r--r-- | tests/test_write.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_write.cpp b/tests/test_write.cpp index 93f5bd9..9a83e0e 100644 --- a/tests/test_write.cpp +++ b/tests/test_write.cpp @@ -187,7 +187,7 @@ TEST(write_encodings) } else { - CHECK(v.size() == 10 && v[0] == '<' && v[1] == 0x54 && v[2] == 0xA2 && v[3] == 0x20AC && v[4] == 0xd852 && v[5] == 0xdf62 && v[6] == ' ' && v[7] == '/' && v[8] == '>' && v[9] == '\n'); + CHECK(v.size() == 10 && v[0] == '<' && v[1] == 0x54 && v[2] == 0xA2 && v[3] == 0x20AC && v[4] == wchar_cast(0xd852) && v[5] == wchar_cast(0xdf62) && v[6] == ' ' && v[7] == '/' && v[8] == '>' && v[9] == '\n'); } CHECK(test_write_narrow(doc, format_default, encoding_latin1, "<\x54\xA2?? />\n", 9)); |