We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c86cec0 commit fab7eabCopy full SHA for fab7eab
test/fiddle/test_function.rb
@@ -100,8 +100,8 @@ def test_last_error
100
101
if WINDOWS
102
def test_win32_last_error
103
- kernel32 = Fiddle.dlopen('kernel32')
104
- args = [kernel32['SetLastError'], [TYPE_LONG], TYPE_VOID]
+ kernel32 = Fiddle.dlopen("kernel32")
+ args = [kernel32["SetLastError"], [TYPE_LONG], TYPE_VOID]
105
args << Function::STDCALL if Function.const_defined?(:STDCALL)
106
set_last_error = Function.new(*args)
107
assert_nil(Fiddle.win32_last_error)
0 commit comments