diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-20 12:19:45 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-20 12:19:45 +0900 |
commit | e68999c82c4863d33a6f893661fba1b7538c5671 (patch) | |
tree | 97615ccb396e864cbabbfd539251c9e64c309d91 /test | |
parent | e672494cd737b8fea3a186aeb5c2c17d1a18cb96 (diff) | |
download | ruby-e68999c82c4863d33a6f893661fba1b7538c5671.tar.gz |
Fixed misspellings
Fixed misspellings reported at [Bug #16437], for default gems.
Diffstat (limited to 'test')
-rw-r--r-- | test/date/test_date_parse.rb | 2 | ||||
-rw-r--r-- | test/did_you_mean/spell_checking/test_class_name_check.rb | 2 | ||||
-rw-r--r-- | test/logger/test_logdevice.rb | 2 | ||||
-rw-r--r-- | test/openssl/test_config.rb | 16 | ||||
-rw-r--r-- | test/racc/assets/nasl.y | 2 | ||||
-rw-r--r-- | test/racc/regress/nasl | 2 | ||||
-rw-r--r-- | test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Basics.text | 4 | ||||
-rw-r--r-- | test/rdoc/test_rdoc_markdown_test.rb | 4 | ||||
-rw-r--r-- | test/rdoc/test_rdoc_parser_ruby.rb | 2 |
9 files changed, 18 insertions, 18 deletions
diff --git a/test/date/test_date_parse.rb b/test/date/test_date_parse.rb index 660d083799..9f92635387 100644 --- a/test/date/test_date_parse.rb +++ b/test/date/test_date_parse.rb @@ -208,7 +208,7 @@ class TestDateParse < Test::Unit::TestCase [['08-DEC-0088',false],[88,12,8,nil,nil,nil,nil,nil,nil], __LINE__], [['08-DEC-0088',true],[88,12,8,nil,nil,nil,nil,nil,nil], __LINE__], - # swaped vms + # swapped vms [['DEC-08-1988',false],[1988,12,8,nil,nil,nil,nil,nil,nil], __LINE__], [['JAN-31-1999',false],[1999,1,31,nil,nil,nil,nil,nil,nil], __LINE__], [['JAN-31--1999',false],[-1999,1,31,nil,nil,nil,nil,nil,nil], __LINE__], diff --git a/test/did_you_mean/spell_checking/test_class_name_check.rb b/test/did_you_mean/spell_checking/test_class_name_check.rb index 388dbe89a7..ffe7a4c31b 100644 --- a/test/did_you_mean/spell_checking/test_class_name_check.rb +++ b/test/did_you_mean/spell_checking/test_class_name_check.rb @@ -70,7 +70,7 @@ class ClassNameCheckTest < Test::Unit::TestCase # This is a weird require, but in a multi-threaded condition, a constant may # be loaded between when a NameError occurred and when the spell checker - # attemps to find a possible suggestion. The manual require here simulates + # attempts to find a possible suggestion. The manual require here simulates # a race condition a single test. require_relative '../fixtures/book' diff --git a/test/logger/test_logdevice.rb b/test/logger/test_logdevice.rb index eaea4c8522..2a01dab17f 100644 --- a/test/logger/test_logdevice.rb +++ b/test/logger/test_logdevice.rb @@ -51,7 +51,7 @@ class TestLogDevice < Test::Unit::TestCase ensure logdev.close end - # create logfile whitch is already exist. + # create logfile which is already exist. logdev = d(@filename) begin assert_predicate(logdev.dev, :sync) diff --git a/test/openssl/test_config.rb b/test/openssl/test_config.rb index 8096375c07..3606c67d65 100644 --- a/test/openssl/test_config.rb +++ b/test/openssl/test_config.rb @@ -61,14 +61,14 @@ foo\\bar::foo\\bar = baz [default1 default2]\t\t # space is allowed in section name fo =b ar # space allowed in value [emptysection] - [doller ] + [dollar ] foo=bar bar = $(foo) baz = 123$(default::bar)456${foo}798 qux = ${baz} quxx = $qux.$qux __EOC__ - assert_equal(['default', 'default1 default2', 'doller', 'emptysection', 'foo', 'foo\\bar'], c.sections.sort) + assert_equal(['default', 'default1 default2', 'dollar', 'emptysection', 'foo', 'foo\\bar'], c.sections.sort) assert_equal(['', 'a', 'bar', 'baz', 'd', 'dq', 'dq2', 'esc', 'foo\\bar', 'sq'], c['default'].keys.sort) assert_equal('c', c['default']['']) assert_equal('', c['default']['a']) @@ -84,12 +84,12 @@ __EOC__ assert_equal('baz', c['foo\\bar']['foo\\bar']) assert_equal('b ar', c['default1 default2']['fo']) - # dolloer - assert_equal('bar', c['doller']['foo']) - assert_equal('bar', c['doller']['bar']) - assert_equal('123baz456bar798', c['doller']['baz']) - assert_equal('123baz456bar798', c['doller']['qux']) - assert_equal('123baz456bar798.123baz456bar798', c['doller']['quxx']) + # dollar + assert_equal('bar', c['dollar']['foo']) + assert_equal('bar', c['dollar']['bar']) + assert_equal('123baz456bar798', c['dollar']['baz']) + assert_equal('123baz456bar798', c['dollar']['qux']) + assert_equal('123baz456bar798.123baz456bar798', c['dollar']['quxx']) excn = assert_raise(OpenSSL::ConfigError) do OpenSSL::Config.parse("foo = $bar") diff --git a/test/racc/assets/nasl.y b/test/racc/assets/nasl.y index e68dd699f8..c7b8e46551 100644 --- a/test/racc/assets/nasl.y +++ b/test/racc/assets/nasl.y @@ -586,7 +586,7 @@ def n(cls, *args) rescue puts "An exception occurred during the creation of a #{cls} instance." puts - puts "The arguments passed to the constructer were:" + puts "The arguments passed to the constructor were:" puts args puts puts @tok.last.context diff --git a/test/racc/regress/nasl b/test/racc/regress/nasl index 2904866ee6..ea47343001 100644 --- a/test/racc/regress/nasl +++ b/test/racc/regress/nasl @@ -56,7 +56,7 @@ def n(cls, *args) rescue puts "An exception occurred during the creation of a #{cls} instance." puts - puts "The arguments passed to the constructer were:" + puts "The arguments passed to the constructor were:" puts args puts puts @tok.last.context diff --git a/test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Basics.text b/test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Basics.text index 6c5a6fdb4b..b499390f2d 100644 --- a/test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Basics.text +++ b/test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Basics.text @@ -270,7 +270,7 @@ it easy to use Markdown to write about HTML example code: I strongly recommend against using any `<blink>` tags. I wish SmartyPants used named entities like `—` - instead of decimal-encoded entites like `—`. + instead of decimal-encoded entities like `—`. Output: @@ -279,7 +279,7 @@ Output: <p>I wish SmartyPants used named entities like <code>&mdash;</code> instead of decimal-encoded - entites like <code>&#8212;</code>.</p> + entities like <code>&#8212;</code>.</p> To specify an entire block of pre-formatted code, indent every line of diff --git a/test/rdoc/test_rdoc_markdown_test.rb b/test/rdoc/test_rdoc_markdown_test.rb index fff68818b5..0ecd000136 100644 --- a/test/rdoc/test_rdoc_markdown_test.rb +++ b/test/rdoc/test_rdoc_markdown_test.rb @@ -744,7 +744,7 @@ foo "I strongly recommend against using any `<blink>` tags.\n", "\n", "I wish SmartyPants used named entities like `—`\n", - "instead of decimal-encoded entites like `—`.\n"), + "instead of decimal-encoded entities like `—`.\n"), para("Output:"), @@ -753,7 +753,7 @@ foo "\n", "<p>I wish SmartyPants used named entities like\n", "<code>&mdash;</code> instead of decimal-encoded\n", - "entites like <code>&#8212;</code>.</p>\n"), + "entities like <code>&#8212;</code>.</p>\n"), para("To specify an entire block of pre-formatted code, indent every line of\n" + "the block by 4 spaces or 1 tab. Just like with code spans, <code>&</code>, <code><</code>,\n" + diff --git a/test/rdoc/test_rdoc_parser_ruby.rb b/test/rdoc/test_rdoc_parser_ruby.rb index d9de1e734e..99f4de2fcb 100644 --- a/test/rdoc/test_rdoc_parser_ruby.rb +++ b/test/rdoc/test_rdoc_parser_ruby.rb @@ -3504,7 +3504,7 @@ end # # The previous test assumes that between the =begin/=end blocks that there # is only one line, or minima formatting directives. This test tests for - # those who use the =begin bloc with longer / more advanced formatting + # those who use the =begin block with longer / more advanced formatting # within. # ## |