ruby-changes:66762
From: Sutou <ko1@a...>
Date: Tue, 13 Jul 2021 19:38:19 +0900 (JST)
Subject: [ruby-changes:66762] 37d16bb9dc (master): [ruby/fiddle] test: use double quote for string literal
https://git.ruby-lang.org/ruby.git/commit/?id=37d16bb9dc From 37d16bb9dc2fbb42a93d899f6eed1857b304e3d6 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei <kou@c...> Date: Tue, 20 Apr 2021 11:17:25 +0900 Subject: [ruby/fiddle] test: use double quote for string literal https://github.com/ruby/fiddle/commit/fab7eab95b --- test/fiddle/test_function.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fiddle/test_function.rb b/test/fiddle/test_function.rb index 5d41477..a67c38d 100644 --- a/test/fiddle/test_function.rb +++ b/test/fiddle/test_function.rb @@ -100,8 +100,8 @@ module Fiddle https://github.com/ruby/ruby/blob/trunk/test/fiddle/test_function.rb#L100 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) -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/