diff --git a/test/reline/helper.rb b/test/reline/helper.rb index 9a346a17a1..3d7dc7d812 100644 --- a/test/reline/helper.rb +++ b/test/reline/helper.rb @@ -96,7 +96,7 @@ class Reline::TestCase < Test::Unit::TestCase end }.join rescue Encoding::UndefinedConversionError, Encoding::InvalidByteSequenceError - input.unicode_normalize!(:nfc) + input = input.unicode_normalize(:nfc) if normalized options[:undef] = :replace options[:replace] = '?'