diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-08-02 12:55:05 +0100 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-08-02 12:55:05 +0100 |
| commit | 5aec40e3e059e4ddbf8a004d61ba8d4883e6d281 (patch) | |
| tree | 501cf9ffefd332b2a998ad0b34f74f8ad6482345 /tests/core/sys/windows | |
| parent | 7c281a9614d815fda4c3ac5fd53ce940662c3264 (diff) | |
Remove unneeded uses of `intrinsics.constant_utf16_cstring`
Diffstat (limited to 'tests/core/sys/windows')
| -rw-r--r-- | tests/core/sys/windows/test_kernel32.odin | 2 | ||||
| -rw-r--r-- | tests/core/sys/windows/util.odin | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/core/sys/windows/test_kernel32.odin b/tests/core/sys/windows/test_kernel32.odin index f6a88c769..7df16113a 100644 --- a/tests/core/sys/windows/test_kernel32.odin +++ b/tests/core/sys/windows/test_kernel32.odin @@ -17,7 +17,7 @@ lcid_to_local :: proc(t: ^testing.T) { exp :: "en-US" testing.expectf(t, str == exp, "%v (should be: %v)", str, exp) - cc2 := win32.LocaleNameToLCID(L(exp), 0) + cc2 := win32.LocaleNameToLCID(exp, 0) testing.expectf(t, cc2 == 0x0409, "%#x (should be: %#x)", u32(cc2), 0x0409) //fmt.printfln("%0X", lcid) diff --git a/tests/core/sys/windows/util.odin b/tests/core/sys/windows/util.odin index 0201395f6..6e4bef9b7 100644 --- a/tests/core/sys/windows/util.odin +++ b/tests/core/sys/windows/util.odin @@ -12,11 +12,11 @@ UTF16_Vector :: struct { utf16_vectors := []UTF16_Vector{ { - intrinsics.constant_utf16_cstring("Hellope, World!"), + "Hellope, World!", "Hellope, World!", }, { - intrinsics.constant_utf16_cstring("Hellope\x00, World!"), + "Hellope\x00, World!", "Hellope", }, } |