On 05/31/2017 08:17 AM, David Ostrovsky wrote:
Test name: DesktopLOKTest::testRedlineWriter equality assertion failed - Expected: Insert âtâ - Actual : Insert tWhen i adapt the code to be: [1] and print out the actual values in gdb, I'm getting: (gdb) print first $1 = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1b12378 "Insert âtâ"}} (gdb) print second $3 = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x14e91b8 "Insert \177\177\177t\177\177\177"}}
Some issue with the locale you've set? (The usage of U+201C LEFT DOUBLE QUOTATION MARK and U+201D RIGHT DOUBLE QUOTATION MARK in desktop/qa/desktop_lib/test_desktop_lib.cxx was rather brittle, so I've fixed that now with <https://cgit.freedesktop.org/libreoffice/core/commit/?id=92be65d31103827bdbd82801ea203a504dce5316> "Avoid implementation-defined behavior when mapping non-ASCII characters".)
_______________________________________________ LibreOffice mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice
