diff options
author | chai <chaifix@163.com> | 2021-10-30 11:32:16 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-30 11:32:16 +0800 |
commit | 42ec7286b2d36a9ba22925f816a17cb1cc2aa5ce (patch) | |
tree | 24bc7009457a8d7500f264e89946dc20d069294f /Data/Libraries/Penlight/examples/test-pretty.lua | |
parent | 164885fd98d48703bd771f802d79557b7db97431 (diff) |
+ Penlight
Diffstat (limited to 'Data/Libraries/Penlight/examples/test-pretty.lua')
-rw-r--r-- | Data/Libraries/Penlight/examples/test-pretty.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Data/Libraries/Penlight/examples/test-pretty.lua b/Data/Libraries/Penlight/examples/test-pretty.lua new file mode 100644 index 0000000..7b2b553 --- /dev/null +++ b/Data/Libraries/Penlight/examples/test-pretty.lua @@ -0,0 +1,13 @@ +local pretty = require 'pl.pretty' + +local tb = { + 'one','two','three',{1,2,3}, + alpha=1,beta=2,gamma=3,['&']=true,[0]=false, + _fred = {true,true}, + s = [[ +hello dolly +you're so fine +]] +} + +print(pretty.write(tb)) |