Skip to content

Commit

Permalink
use env variable instead of constant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ono-max authored and ko1 committed Jul 6, 2021
1 parent d485d87 commit fcab8b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/support/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,10 @@ def debug_code(program, boot_options: '-r debug/run', remote: true, &block)
end
end

DEBUG_MODE = false
ASK_CMD = %w[quit delete kill undisplay]

def debug_print msg
print msg if DEBUG_MODE
print msg if ENV['RUBY_DEBUG_TEST_DEBUG_MODE']
end

RUBY = RbConfig.ruby
Expand Down

0 comments on commit fcab8b2

Please sign in to comment.