diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-04-08 16:36:39 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-04-08 18:35:10 +0300 |
commit | 8b0fe501e77a1f4032a396b97ad317f09e160ee3 (patch) | |
tree | 54b59aa6fb696d12e2eaac711fe35246627bf0a4 /tests/manifest-serializer/testscript | |
parent | c66eacd1d56cebce6986217bf6ea321018323952 (diff) |
Add support for manifest serializing long lines mode
Diffstat (limited to 'tests/manifest-serializer/testscript')
-rw-r--r-- | tests/manifest-serializer/testscript | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/manifest-serializer/testscript b/tests/manifest-serializer/testscript index d027b7a..c3da2c3 100644 --- a/tests/manifest-serializer/testscript +++ b/tests/manifest-serializer/testscript @@ -3,6 +3,7 @@ # license : MIT; see accompanying LICENSE file : stdout +: { $* <<EOI >>EOO @@ -38,6 +39,7 @@ } : file +: { $* <<EOI >=file; @@ -58,6 +60,7 @@ } : list +: { $* <<EOI >>EOO @@ -79,6 +82,58 @@ EOO } +: break-lines +: +{ + $* <<EOI >>EOO + + 1 + + name + foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo + EOI + : 1 + name: foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo\ + oooo + EOO +} + +: long-lines +: +{ + : file + : + { + $* --long-lines file <<EOI >=file; + + 1 + + name + foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo + EOI + + cat file >>EOO + : 1 + name: foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo + EOO + } + + : stdout + : + { + $* --long-lines <<EOI >>EOO + + 1 + + name + foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo + EOI + : 1 + name: foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo + EOO + } +} + : version : { |