This is an automated email from the ASF dual-hosted git repository. willholley pushed a commit to branch upstream-2.20.0 in repository https://gitbox.apache.org/repos/asf/couchdb-mochiweb.git
commit 2cae81351e74a5dacef62944597198ce4da8a981 Author: Bob Ippolito <[email protected]> AuthorDate: Tue Mar 12 01:32:14 2019 +0000 Remove compile(tuple_calls) from test/mochiweb_websocket_tests --- test/mochiweb_websocket_tests.erl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/mochiweb_websocket_tests.erl b/test/mochiweb_websocket_tests.erl index 71fb9a6..0af29b7 100644 --- a/test/mochiweb_websocket_tests.erl +++ b/test/mochiweb_websocket_tests.erl @@ -23,8 +23,6 @@ %% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN %% THE SOFTWARE. --compile(tuple_calls). - -include_lib("eunit/include/eunit.hrl"). make_handshake_for_correct_client_test() -> @@ -94,8 +92,8 @@ end_to_end_test_factory(ServerTransport) -> end). end_to_end_server(Req) -> - ?assertEqual("Upgrade", Req:get_header_value("connection")), - ?assertEqual("websocket", Req:get_header_value("upgrade")), + ?assertEqual("Upgrade", mochiweb_request:get_header_value("connection", Req)), + ?assertEqual("websocket", mochiweb_request:get_header_value("upgrade", Req)), {ReentryWs, _ReplyChannel} = mochiweb_websocket:upgrade_connection( Req, fun end_to_end_ws_loop/3),
