summaryrefslogtreecommitdiff
path: root/test/test_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 65c7646..0273900 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -1,21 +1,21 @@
#!/usr/bin/env ruby
# coding: utf-8
+require "English"
+
# Run code coverage only for mri
-require 'simplecov' if RUBY_ENGINE == 'ruby'
+require "simplecov" if RUBY_ENGINE == "ruby"
# Compatibility module for StringIO, File
# and Tempfile. Necessary for some tests.
require "io_console_compatible"
-require 'highline'
+require "highline"
debug_message = "Tests will be run under:\n"
debug_message << " - #{HighLine.new.terminal.class}\n"
debug_message << " - HighLine::VERSION #{HighLine::VERSION}\n"
-if defined? RUBY_DESCRIPTION
- debug_message << " - #{RUBY_DESCRIPTION}\n"
-end
+debug_message << " - #{RUBY_DESCRIPTION}\n" if defined? RUBY_DESCRIPTION
puts debug_message