Comparison

spec/net_http_parser_spec.lua @ 11031:57739c591a8c

net.http.parser: Fix incorrect path in test
author Matthew Wild <mwild1@gmail.com>
date Fri, 21 Aug 2020 13:49:10 +0100
parent 11030:388f599f66d1
child 11032:28de68414750
comparison
equal deleted inserted replaced
11030:388f599f66d1 11031:57739c591a8c
116 ); 116 );
117 end); 117 end);
118 end); 118 end);
119 119
120 pending("should handle large chunked responses", function () 120 pending("should handle large chunked responses", function ()
121 local data = io.open("spec/inputs/httpstream-chunked-test.txt", "rb"):read("*a"); 121 local data = io.open("spec/inputs/http/httpstream-chunked-test.txt", "rb"):read("*a");
122 122
123 -- Just a sanity check... text editors and things may mess with line endings, etc. 123 -- Just a sanity check... text editors and things may mess with line endings, etc.
124 assert.equal("25930f021785ae14053a322c2dbc1897c3769720", sha1(data, true), "test data malformed"); 124 assert.equal("25930f021785ae14053a322c2dbc1897c3769720", sha1(data, true), "test data malformed");
125 125
126 test_stream(data, { 126 test_stream(data, {