1# RUN: yaml-bench -canonical %s | FileCheck %s 2# CHECK: ? !!str "literal_strip" 3# CHECK: : !!str "Hello\n\n\nworld\non\nmultiple \n\n\nlines\n\nfoo bar" 4# CHECK: ? !!str "literal_clip" 5# CHECK: : !!str "Hello\n\n\nworld\non\nmultiple \n\n\nlines\n\nfoo bar\n" 6# CHECK: ? !!str "literal_keep" 7# CHECK: : !!str "Hello\n\n\nworld\non\nmultiple \n\n\nlines\n\nfoo bar\n\n\n\n" 8# CHECK: ? !!str "folded_strip" 9# CHECK: : !!str "Hello\n\nworld on multiple \n\nlines\nfoo bar" 10# CHECK: ? !!str "folded_clip" 11# CHECK: : !!str "Hello\n\nworld on multiple \n\nlines\nfoo bar\n" 12# CHECK: ? !!str "folded_keep" 13# CHECK: : !!str "Hello\n\nworld on multiple \n\nlines\nfoo bar\n\n\n" 14 15literal_strip: |- 16 Hello 17 18 19 world 20 on 21 multiple 22 23 24 lines 25 26 foo bar 27 28 29 30literal_clip: | 31 Hello 32 33 34 world 35 on 36 multiple 37 38 39 lines 40 41 foo bar 42 43 44 45literal_keep: |+ 46 Hello 47 48 49 world 50 on 51 multiple 52 53 54 lines 55 56 foo bar 57 58 59 60folded_strip: >- 61 Hello 62 63 64 world 65 on 66 multiple 67 68 69 lines 70 71 foo bar 72 73 74 75folded_clip: > 76 Hello 77 78 79 world 80 on 81 multiple 82 83 84 lines 85 86 foo bar 87 88 89 90folded_keep: >+ 91 Hello 92 93 94 world 95 on 96 multiple 97 98 99 lines 100 101 foo bar 102 103 104