From 0c85ffd8a75fbb48d18b32e7c3274d9380f64f99 Mon Sep 17 00:00:00 2001 From: a_matsuda Date: Fri, 29 Nov 2013 14:03:26 +0000 Subject: * 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 --- lib/webrick/httpauth/digestauth.rb | 2 +- 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+' ' -- cgit v1.2.3