mirror of
https://github.com/lune-org/lune.git
synced 2024-12-13 05:20:37 +00:00
9 lines
256 B
Lua
9 lines
256 B
Lua
|
local serde = require("@lune/serde") :: any
|
||
|
local source = require("./source")
|
||
|
|
||
|
local toml = serde.decode("toml", source.encoded)
|
||
|
|
||
|
assert(toml.package.name == "my-cool-toml-package")
|
||
|
assert(toml.package.version == "0.1.0")
|
||
|
assert(toml.values.epic == true)
|