aboutsummaryrefslogtreecommitdiff
path: root/lua/cmake/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/cmake/test.lua')
-rw-r--r--lua/cmake/test.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/cmake/test.lua b/lua/cmake/test.lua
new file mode 100644
index 0000000..d5fbab9
--- /dev/null
+++ b/lua/cmake/test.lua
@@ -0,0 +1,11 @@
+local lyaml = require("cmake.lyaml")
+lyaml.dump({ { foo = "bar" } })
+--> ---
+--> foo: bar
+--> ...
+
+lyaml.dump({ "one", "two" })
+--> --- one
+--> ...
+--> --- two
+--> ...