Comparison

spec/util_hmac_spec.lua @ 9961:d7c99694fc94

util.hmac: Ignore long hex lines in tests
author Kim Alvefur <zash@zash.se>
date Fri, 19 Apr 2019 13:17:49 +0200
parent 9960:cedc1f646925
child 12355:a0ff5c438e9d
comparison
equal deleted inserted replaced
9960:cedc1f646925 9961:d7c99694fc94
1 -- Test cases from RFC 4231 1 -- Test cases from RFC 4231
2
3 -- Yes, the lines are long, it's annoying to split the long hex things.
4 -- luacheck: ignore 631
2 5
3 local hmac = require "util.hmac"; 6 local hmac = require "util.hmac";
4 local hex = require "util.hex"; 7 local hex = require "util.hex";
5 8
6 describe("Test case 1", function () 9 describe("Test case 1", function ()