summaryrefslogtreecommitdiff
path: root/test/reline
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-21 03:30:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-21 03:30:48 +0000
commita3adb11fa60a184231cbd085c3171e675db4c8ce (patch)
treeb01d15e342a6d56b70f4484cf6e42b2dae35284b /test/reline
parent0db89a38f22754eb09c69ae3e38533c91b5e3b17 (diff)
test/reline/helper.rb: define RELINE_TEST_ENCODING always
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/reline')
-rw-r--r--test/reline/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/reline/helper.rb b/test/reline/helper.rb
index 2d0c07192f..980a03c40a 100644
--- a/test/reline/helper.rb
+++ b/test/reline/helper.rb
@@ -2,7 +2,7 @@ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'reline'
require 'test/unit'
-RELINE_TEST_ENCODING = Encoding.find(ENV['RELINE_TEST_ENCODING']) if ENV['RELINE_TEST_ENCODING']
+RELINE_TEST_ENCODING = (Encoding.find(ENV['RELINE_TEST_ENCODING']) if ENV['RELINE_TEST_ENCODING'])
class Reline::TestCase < Test::Unit::TestCase
private def convert_str(input, options = {}, normalized = nil)