From 88e7cf881c939356b757d6fc1e8c944a8c047508 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 24 Dec 2015 23:23:46 +0000 Subject: fix common misspelling [ci skip] * compile.c, cont.c, doc, man: fix common misspelling. [ruby-core:72466] [Bug #11870] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/net/http/test_http.rb | 6 +++--- test/openssl/test_config.rb | 2 +- test/rexml/test_core.rb | 2 +- test/webrick/test_httpserver.rb | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'test') diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb index d8983e91cd..f1d3ede53e 100644 --- a/test/net/http/test_http.rb +++ b/test/net/http/test_http.rb @@ -151,12 +151,12 @@ class TestNetHTTP < Test::Unit::TestCase def test_proxy_port clean_http_proxy_env do - http = Net::HTTP.new 'exmaple', nil, 'proxy.example' + http = Net::HTTP.new 'example', nil, 'proxy.example' assert_equal 'proxy.example', http.proxy_address assert_equal 80, http.proxy_port - http = Net::HTTP.new 'exmaple', nil, 'proxy.example', 8000 + http = Net::HTTP.new 'example', nil, 'proxy.example', 8000 assert_equal 8000, http.proxy_port - http = Net::HTTP.new 'exmaple', nil + http = Net::HTTP.new 'example', nil assert_equal nil, http.proxy_port end end diff --git a/test/openssl/test_config.rb b/test/openssl/test_config.rb index 8f5bdb2150..1a5dfe62e8 100644 --- a/test/openssl/test_config.rb +++ b/test/openssl/test_config.rb @@ -168,7 +168,7 @@ __EOC__ end def test_value - # supress deprecation warnings + # suppress deprecation warnings OpenSSL::TestUtils.silent do assert_equal('CA_default', @it.value('ca', 'default_ca')) assert_equal(nil, @it.value('ca', 'no such key')) diff --git a/test/rexml/test_core.rb b/test/rexml/test_core.rb index f4eba0bbb3..0071063128 100644 --- a/test/rexml/test_core.rb +++ b/test/rexml/test_core.rb @@ -619,7 +619,7 @@ module REXMLTests File.open(fixture_path("documentation.xml")) do |f| Document.parse_stream( f, c ) end - assert(c.ts, "Stream parsing apparantly didn't parse the whole file") + assert(c.ts, "Stream parsing apparently didn't parse the whole file") assert(c.te, "Stream parsing dropped end tag for documentation") Document.parse_stream(" ", c) diff --git a/test/webrick/test_httpserver.rb b/test/webrick/test_httpserver.rb index e718738fc1..5adf617fa5 100644 --- a/test/webrick/test_httpserver.rb +++ b/test/webrick/test_httpserver.rb @@ -360,7 +360,7 @@ class TestWEBrickHTTPServer < Test::Unit::TestCase http.request(req){|res| assert_equal("foo", res.body) } end rescue Timeout::Error - flunk('corrupted reponse') + flunk('corrupted response') end } end -- cgit v1.2.3