From 33f2ff3babb7054f3df1efa25c1285e09613d7b8 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Mon, 26 Apr 2021 00:10:39 +0900 Subject: Fix some typos by spell checker --- test/objspace/test_objspace.rb | 2 +- test/open-uri/test_open-uri.rb | 2 +- test/ruby/test_econv.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test') 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) -- cgit v1.2.3