Add test file

This commit is contained in:
Jean-Patrick Guerrero 2019-10-09 00:11:23 +02:00
parent 41021895ce
commit a8ad0435fa
2 changed files with 16 additions and 0 deletions

@ -1869,3 +1869,12 @@ register_command("craft", {
return true, craftguide.show(name, node_name) return true, craftguide.show(name, node_name)
end, end,
}) })
print(core.write_json({
result = "default:cobble 16",
items = {
"default:stone, default:stone, default:stone",
"default:stone, , default:stone",
"default:stone, default:stone, default:stone",
}
}))

7
test.json Normal file

@ -0,0 +1,7 @@
{
"items":[
"default:stone, default:stone, default:stone",
"default:stone, , default:stone",
"default:stone, default:stone, default:stone"],
"result":"default:cobble 16"
}