Skip to content

Commit e776eaa

Browse files
houmkhTieske
authored andcommitted
move cjson configuration
1 parent 08275a6 commit e776eaa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spec/collect_all_errors_spec.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
-- pairs() iteration order. General compliance tests with collect_all_errors are in suite_spec.lua
55

66
local json = require 'cjson'
7-
json.decode_array_with_array_mt(true)
87
local jsonschema = require 'resty.ljsonschema'
98

109
local function readjson(path)
@@ -73,7 +72,7 @@ local options = {
7372
}
7473

7574
describe("[collect_all_errors - specialized tests]", function()
76-
75+
json.decode_array_with_array_mt(true)
7776
local test_file = 'spec/extra/errors/collect_all_errors.json'
7877

7978
for _, suite in ipairs(readjson(test_file)) do

0 commit comments

Comments
 (0)