diff options
author | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-29 14:03:26 +0000 |
---|---|---|
committer | a_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-29 14:03:26 +0000 |
commit | 0c85ffd8a75fbb48d18b32e7c3274d9380f64f99 (patch) | |
tree | 7aa41c2806b657c99f754a5fc62463f6122e7378 | |
parent | 44cb6eaef9b189a48d78a0090da78d48e2196fb5 (diff) |
* lib/webrick/httpauth/digestauth.rb: Fix typo in an error message.
* test/ruby/test_parse.rb: Fix typo in a test name.
s/allowd/allowed/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/webrick/httpauth/digestauth.rb | 2 | ||||
-rw-r--r-- | test/ruby/test_parse.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/webrick/httpauth/digestauth.rb b/lib/webrick/httpauth/digestauth.rb index 78ad45b233..0eea94774f 100644 --- a/lib/webrick/httpauth/digestauth.rb +++ b/lib/webrick/httpauth/digestauth.rb @@ -204,7 +204,7 @@ module WEBrick password = @userdb.get_passwd(@realm, auth_req['username'], @reload_db) unless password - error('%s: the user is not allowd.', auth_req['username']) + error('%s: the user is not allowed.', auth_req['username']) return false end diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb index d4ab596782..db6281f620 100644 --- a/test/ruby/test_parse.rb +++ b/test/ruby/test_parse.rb @@ -361,7 +361,7 @@ class TestParse < Test::Unit::TestCase assert_equal("foo 1 bar", "foo #$1 bar") end - def test_dstr_disallowd_variable + def test_dstr_disallowed_variable bug8375 = '[ruby-core:54885] [Bug #8375]' %w[@ @1 @@. @@ @@1 @@. $ $%].each do |src| src = '#'+src+' ' |