mirror of
https://github.com/lune-org/lune.git
synced 2024-12-14 06:00:42 +00:00
27 lines
369 B
Text
27 lines
369 B
Text
|
local TOML_LINES = {
|
||
|
"[package]",
|
||
|
'name = "my-cool-toml-package"',
|
||
|
'version = "0.1.0"',
|
||
|
"",
|
||
|
"[values]",
|
||
|
"epic = true",
|
||
|
"",
|
||
|
}
|
||
|
|
||
|
local TOML_STRING = table.concat(TOML_LINES, "\n")
|
||
|
|
||
|
local TOML_TABLE = {
|
||
|
package = {
|
||
|
name = "my-cool-toml-package",
|
||
|
version = "0.1.0",
|
||
|
},
|
||
|
values = {
|
||
|
epic = true,
|
||
|
},
|
||
|
}
|
||
|
|
||
|
return {
|
||
|
encoded = TOML_STRING,
|
||
|
decoded = TOML_TABLE,
|
||
|
}
|