[前][次][番号順一覧][スレッド一覧]

ruby-changes:31838

From: a_matsuda <ko1@a...>
Date: Fri, 29 Nov 2013 23:03:33 +0900 (JST)
Subject: [ruby-changes:31838] a_matsuda:r43917 (trunk): * lib/webrick/httpauth/digestauth.rb: Fix typo in an error message.

a_matsuda	2013-11-29 23:03:26 +0900 (Fri, 29 Nov 2013)

  New Revision: 43917

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43917

  Log:
    * 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/

  Modified files:
    trunk/lib/webrick/httpauth/digestauth.rb
    trunk/test/ruby/test_parse.rb
Index: lib/webrick/httpauth/digestauth.rb
===================================================================
--- lib/webrick/httpauth/digestauth.rb	(revision 43916)
+++ lib/webrick/httpauth/digestauth.rb	(revision 43917)
@@ -204,7 +204,7 @@ module WEBrick https://github.com/ruby/ruby/blob/trunk/lib/webrick/httpauth/digestauth.rb#L204
 
         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
 
Index: test/ruby/test_parse.rb
===================================================================
--- test/ruby/test_parse.rb	(revision 43916)
+++ test/ruby/test_parse.rb	(revision 43917)
@@ -361,7 +361,7 @@ class TestParse < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_parse.rb#L361
     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+' '

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]