Skip to content

api7/test-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test-toolkit

Usage

Prerequset: clone the repo in the CI:

git clone https://github.com/api7/test-toolkit/ t/lib/toolkit

Use this in the test code:

  • encode json with key sorted
package.path = "t/lib/toolkit/?.lua;" .. package.path
local json = require("json")
json.encode({xxx = yy, a = b}, {sortkey = true})

About

No description, website, or topics provided.

Resources

License

Stars

4 stars

Watchers

3 watching

Forks

Packages

 
 
 

Contributors