Skip to content

Commit

Permalink
Fix warning about unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 authored and ko1 committed Mar 7, 2023
1 parent 28b1197 commit 2b418df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/console/backtrace_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def bar
omit "Skip test with load files. Cannot create files in HOME directory."
end

file = File.open(foo_path, 'w+') { |f| f.write(foo_file) }
File.open(foo_path, 'w+') { |f| f.write(foo_file) }
debug_code(program) do
type 'c'
type 'bt'
Expand Down

0 comments on commit 2b418df

Please sign in to comment.