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 committed Jul 6, 2021
1 parent 90196f3 commit a5cc039
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 @@ -33,11 +33,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 a5cc039

Please sign in to comment.