summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/webrick/test_httpauth.rb4
1 files changed, 2 insertions, 2 deletions
@@ -68,7 +68,7 @@ class TestWEBrickHTTPAuth < Test::Unit::TestCase
/ERROR WEBrick::HTTPStatus::Unauthorized/
]
pats.each {|pat|
- assert_operator(log, :grep, pat)
log.reject! {|line| pat =~ line }
}
assert_equal([], log)
@@ -162,7 +162,7 @@ class TestWEBrickHTTPAuth < Test::Unit::TestCase
/ERROR Digest WEBrick's realm: webrick: digest unmatch\./
]
pats.each {|pat|
- assert_operator(log, :grep, pat)
log.reject! {|line| pat =~ line }
}
assert_equal([], log)