updated jsonschema to v0.4. (#805)

* updated jsonschema to v0.4.

* test: fixed typo.
This commit is contained in:
YuanSheng Wang 2019-11-05 10:33:36 +08:00 committed by super_mario
parent ecd4a57a24
commit 7c51f6da00
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ dependencies = {
"luafilesystem = 1.7.0-2",
"lua-tinyyaml = 0.1",
"iresty-nginx-lua-prometheus = 0.20190917",
"jsonschema = 0.3",
"jsonschema = 0.4",
}
build = {

View File

@ -136,7 +136,7 @@ qr@invalid ip address: 10.255.254.0/38@
--- request
GET /t
--- response_body
value sould match only one schema, but matches none
value should match only one schema, but matches none
done
--- no_error_log
[error]
@ -183,7 +183,7 @@ done
--- request
GET /t
--- response_body
value sould match only one schema, but matches both schemas 1 and 2
value should match only one schema, but matches both schemas 1 and 2
done
--- no_error_log
[error]