mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add missing escape
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d6df54cc9f
commit
f6ae1ed6ec
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class TestWEBrickHTTPAuth < Test::Unit::TestCase
|
|||
define_method(:"test_basic_auth_bad_username_htpasswd_#{hash_algo}") do
|
||||
log_tester = lambda {|log, access_log|
|
||||
assert_equal(2, log.length)
|
||||
assert_match(/ERROR Basic WEBrick's realm: foo\\ebar: the user is not allowed./, log[0])
|
||||
assert_match(/ERROR Basic WEBrick's realm: foo\\ebar: the user is not allowed\./, log[0])
|
||||
assert_match(/ERROR WEBrick::HTTPStatus::Unauthorized/, log[1])
|
||||
}
|
||||
TestWEBrick.start_httpserver({}, log_tester) {|server, addr, port, log|
|
||||
|
|
Loading…
Add table
Reference in a new issue