diff options
author | Sutou Kouhei <[email protected]> | 2021-04-20 11:07:27 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-07-13 19:37:45 +0900 |
commit | 303ab5da8b34faf6b4b608f1f7512dfd08544cc8 (patch) | |
tree | fc02b50dcc2a41f981043d42d4c7dd55e04cf0e8 /test | |
parent | d1eeb9fec953c41ebaf312d7a56948bca43e9f93 (diff) |
[ruby/fiddle] test: add missing receiver
https://github.com/ruby/fiddle/commit/1da3b4af16
Diffstat (limited to 'test')
-rw-r--r-- | test/fiddle/test_function.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fiddle/test_function.rb b/test/fiddle/test_function.rb index ea5f054dd2..842221c91f 100644 --- a/test/fiddle/test_function.rb +++ b/test/fiddle/test_function.rb @@ -97,7 +97,7 @@ module Fiddle if WINDOWS def test_win32_last_error - kernel32 = dlopen('kernel32') + 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) |