[ruby/fiddle] test: use double quote for string literal

fab7eab95b
This commit is contained in:
Sutou Kouhei 2021-04-20 11:17:25 +09:00 committed by Nobuyoshi Nakada
parent 5516d74ad2
commit 37d16bb9dc
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -100,8 +100,8 @@ module Fiddle
if WINDOWS
def test_win32_last_error
kernel32 = Fiddle.dlopen('kernel32')
args = [kernel32['SetLastError'], [TYPE_LONG], TYPE_VOID]
kernel32 = Fiddle.dlopen("kernel32")
args = [kernel32["SetLastError"], [TYPE_LONG], TYPE_VOID]
args << Function::STDCALL if Function.const_defined?(:STDCALL)
set_last_error = Function.new(*args)
assert_nil(Fiddle.win32_last_error)