mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
8 lines
249 B
Text
8 lines
249 B
Text
local serde = require("@lune/serde")
|
|
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)
|