Fix some typos by spell checker

This commit is contained in:
Ryuta Kamizono 2021-04-26 00:10:39 +09:00 committed by Hiroshi SHIBATA
parent f9b62b5cc0
commit 33f2ff3bab
Notes: git 2021-04-26 10:08:09 +09:00
24 changed files with 36 additions and 36 deletions

View file

@ -168,7 +168,7 @@ class TestObjSpace < Test::Unit::TestCase
assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}")
begin;
require "objspace"
# Make sure stoping before the tracepoints are initialized doesn't raise. See [Bug #17020]
# Make sure stopping before the tracepoints are initialized doesn't raise. See [Bug #17020]
ObjectSpace.trace_object_allocations_stop
end;
end

View file

@ -581,7 +581,7 @@ class TestOpenURI < Test::Unit::TestCase
) {|f|
assert_equal(1, length.length)
assert_equal(nil, length[0])
assert(progress.length>1,"maybe test is worng")
assert(progress.length>1,"maybe test is wrong")
assert(progress.sort == progress,"monotone increasing expected but was\n#{progress.inspect}")
assert_equal(content.length, progress[-1])
assert_equal(content, f.read)

View file

@ -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)