Skip to content

Commit

Permalink
[ruby/fiddle] test: suppress shadowing outer local variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 18, 2020
1 parent ceccc16 commit 5c7ef89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/fiddle/helper.rb
Expand Up @@ -92,9 +92,9 @@
funcs=%w!sin sinf strcpy strncpy!
expfile='dltest.exp'
require 'tmpdir'
Dir.mktmpdir do |dir|
Dir.mktmpdir do |_dir|
begin
Dir.chdir dir
Dir.chdir _dir
%x!/usr/bin/ar x /usr/lib/libc.a #{cobjs.join(' ')}!
%x!/usr/bin/ar x /usr/lib/libm.a #{mobjs.join(' ')}!
%x!echo "#{funcs.join("\n")}\n" > #{expfile}!
Expand Down

0 comments on commit 5c7ef89

Please sign in to comment.