Skip to content

Commit

Permalink
Merge pull request #474 from yano3/fix-typo-in-test
Browse files Browse the repository at this point in the history
Fix typo in test. Thank you, @yano3
  • Loading branch information
yyamano authored Aug 18, 2020
2 parents f0b2ea3 + 3f44ea4 commit aee1cdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/t/ngx_mruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -444,13 +444,13 @@ def _run
t.assert_equal "THIS IS AN ERROR MESSAGE FOR 401", res["body"]
end

t.assert('ngx_mruby - multipul request headers', 'location /multi_headers_in') do
t.assert('ngx_mruby - multiple request headers', 'location /multi_headers_in') do
res = HttpRequest.new.get base + '/multi_headers_in', nil, {"hoge" => "foo"}
t.assert_equal 200, res.code
t.assert_equal '["foo", "fuga"]', res["body"]
end

t.assert('ngx_mruby - multipul response headers', 'location /multi_headers_out') do
t.assert('ngx_mruby - multiple response headers', 'location /multi_headers_out') do
res = HttpRequest.new.get base + '/multi_headers_out'
t.assert_equal 200, res.code
t.assert_equal '["foo", "fuga"]', res["body"]
Expand Down

0 comments on commit aee1cdb

Please sign in to comment.