diff options
Diffstat (limited to '')
| -rwxr-xr-x | tests/decode.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/decode.lua b/tests/decode.lua index cac29e6..89354cd 100755 --- a/tests/decode.lua +++ b/tests/decode.lua | |||
| @@ -7,8 +7,8 @@ | |||
| 7 | -- ./decode.lua test.json | 7 | -- ./decode.lua test.json |
| 8 | 8 | ||
| 9 | require "common" | 9 | require "common" |
| 10 | require "cjson" | 10 | local json = require "cjson" |
| 11 | 11 | ||
| 12 | local json_text = file_load(arg[1]) | 12 | local json_text = file_load(arg[1]) |
| 13 | local t = cjson.decode(json_text) | 13 | local t = json.decode(json_text) |
| 14 | print(serialise_value(t)) | 14 | print(serialise_value(t)) |
