d3dx10/tests: Use wide-char string literals.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2020-09-30 23:14:51 +02:00 committed by Alexandre Julliard
parent eadbba4124
commit 6325887e3d
1 changed files with 1 additions and 2 deletions

View File

@ -1340,7 +1340,6 @@ static void test_D3DX10CreateAsyncFileLoader(void)
static void test_D3DX10CreateAsyncResourceLoader(void)
{
static const WCHAR resource_name[] = {'n','o','n','a','m','e',0};
ID3DX10DataLoader *loader;
HRESULT hr;
@ -1359,7 +1358,7 @@ static void test_D3DX10CreateAsyncResourceLoader(void)
hr = D3DX10CreateAsyncResourceLoaderW(NULL, NULL, &loader);
ok(hr == D3DX10_ERR_INVALID_DATA, "Got unexpected hr %#x.\n", hr);
hr = D3DX10CreateAsyncResourceLoaderW(NULL, resource_name, &loader);
hr = D3DX10CreateAsyncResourceLoaderW(NULL, L"noname", &loader);
ok(hr == D3DX10_ERR_INVALID_DATA, "Got unexpected hr %#x.\n", hr);
}