Sharp.Augeas/Sharp.Augeas.Test/lens/tests/test_spacevars.aug

22 lines
431 B
Plaintext
Raw Permalink Normal View History

2022-11-08 20:57:02 +03:00
module Test_spacevars =
let conf ="# This a spaced key/value configuration file.
keyword value
# I like comments
very.useful-key my=value
a.flag
"
let lns = Spacevars.lns
test lns get conf =
{ "#comment" = "This a spaced key/value configuration file."}
{ "keyword" = "value" }
{}
{ "#comment" = "I like comments"}
{ "very.useful-key" = "my=value" }
{}
{ "a.flag" }