Commit c56c76e6 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

user32/tests: Do not expect char vkey to return the same char everywhere.

Results may depend on the keyboard layout, and the tests were failing on VMs with non-us layouts. Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 96f0d1ae
......@@ -1763,15 +1763,16 @@ static const struct tounicode_tests
WCHAR expect_buf[4];
} utests[] =
{
{ 'A', 0, 0, 1, {'a',0}},
{ 'A', ctrl, 0, 1, {1, 0}},
{ 'A', shift|ctrl, 0, 1, {1, 0}},
{ 0, 0, 'a', 1, {'a',0}},
{ 0, shift, 'a', 1, {'A',0}},
{ 0, ctrl, 'a', 1, {1, 0}},
{ 0, shift|ctrl, 'a', 1, {1, 0}},
{ VK_TAB, ctrl, 0, 0, {}},
{ VK_TAB, shift|ctrl, 0, 0, {}},
{ VK_RETURN, ctrl, 0, 1, {'\n', 0}},
{ VK_RETURN, shift|ctrl, 0, 0, {}},
{ '4', ctrl, 0, 0, {}},
{ '4', shift|ctrl, 0, 0, {}},
{ 0, ctrl, '4', 0, {}},
{ 0, shift|ctrl, '4', 0, {}},
{ 0, ctrl, '!', 0, {}},
{ 0, ctrl, '\"', 0, {}},
{ 0, ctrl, '#', 0, {}},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment