diff --git a/tests/spec/protocol4-parse.lua b/tests/spec/protocol4-parse.lua index 1e1d1b6..d2a417c 100644 --- a/tests/spec/protocol4-parse.lua +++ b/tests/spec/protocol4-parse.lua @@ -206,7 +206,7 @@ describe("MQTT v3.1.1 protocol: parsing packets", function() packet ) assert.are.same("Connection Refused, unacceptable protocol version", packet:reason_string()) - local packet = protocol4.parse_packet(make_read_func_hex( + packet = protocol4.parse_packet(make_read_func_hex( extract_hex("20 02 0020") )) assert.are.same(