diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2021-04-26 00:10:39 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-04-26 10:07:41 +0900 |
commit | 33f2ff3babb7054f3df1efa25c1285e09613d7b8 (patch) | |
tree | 4c47e98fd4194080fb4d0d047100731b076babc0 /test | |
parent | f9b62b5cc04fa87f0970c9ca3d1cbbc9be8bf8fe (diff) |
Fix some typos by spell checker
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4414
Diffstat (limited to 'test')
-rw-r--r-- | test/objspace/test_objspace.rb | 2 | ||||
-rw-r--r-- | test/open-uri/test_open-uri.rb | 2 | ||||
-rw-r--r-- | test/ruby/test_econv.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb index 97f3d60882..58e086c0a0 100644 --- a/test/objspace/test_objspace.rb +++ b/test/objspace/test_objspace.rb @@ -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 diff --git a/test/open-uri/test_open-uri.rb b/test/open-uri/test_open-uri.rb index 9a52e7a287..51e8e503a0 100644 --- a/test/open-uri/test_open-uri.rb +++ b/test/open-uri/test_open-uri.rb @@ -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) 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) |