summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2021-04-26 00:10:39 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-04-26 10:07:41 +0900
commit33f2ff3babb7054f3df1efa25c1285e09613d7b8 (patch)
tree4c47e98fd4194080fb4d0d047100731b076babc0 /test/ruby
parentf9b62b5cc04fa87f0970c9ca3d1cbbc9be8bf8fe (diff)
Fix some typos by spell checker
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4414
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_econv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_econv.rb b/test/ruby/test_econv.rb
index a1ab1c8df6..1aad0de347 100644
--- a/test/ruby/test_econv.rb
+++ b/test/ruby/test_econv.rb
@@ -922,7 +922,7 @@ class TestEncodingConverter < Test::Unit::TestCase
end
newlines.each do |nl|
opts = {newline: :universal, nl => true}
- ec2 = assert_warning(/:newline option preceds/, opts.inspect) do
+ ec2 = assert_warning(/:newline option precedes/, opts.inspect) do
Encoding::Converter.new("", "", **opts)
end
assert_equal(ec1, ec2)