aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lua-busted/use-cjson.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-03-02 02:23:33 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-03-02 02:27:13 +0100
commit24584af2b412eec06250744673ccedc3cb32ab7b (patch)
tree29395a31477e2764973de4187b83dc78b8c05373 /testing/lua-busted/use-cjson.patch
parenteadc00919f2711e588d4398baa4e1f4be584face (diff)
downloadaports-24584af2b412eec06250744673ccedc3cb32ab7b.tar.bz2
aports-24584af2b412eec06250744673ccedc3cb32ab7b.tar.xz
testing/lua-busted: new aport
https://olivinelabs.com/busted/ Elegant Lua unit testing
Diffstat (limited to 'testing/lua-busted/use-cjson.patch')
-rw-r--r--testing/lua-busted/use-cjson.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/lua-busted/use-cjson.patch b/testing/lua-busted/use-cjson.patch
new file mode 100644
index 0000000000..eba3d23c28
--- /dev/null
+++ b/testing/lua-busted/use-cjson.patch
@@ -0,0 +1,8 @@
+--- a/busted/outputHandlers/json.lua
++++ b/busted/outputHandlers/json.lua
+@@ -1,4 +1,4 @@
+-local json = require 'dkjson'
++local json = require 'cjson'
+
+ return function(options)
+ local busted = require 'busted'