llvm/llvm/test/YAMLParser/spec-09-24.test

# RUN: yaml-bench -canonical %s | FileCheck %s
# CHECK: ? !!str "literal_strip"
# CHECK: : !!str "Hello\n\n\nworld\non\nmultiple    \n\n\nlines\n\nfoo bar"
# CHECK: ? !!str "literal_clip"
# CHECK: : !!str "Hello\n\n\nworld\non\nmultiple    \n\n\nlines\n\nfoo bar\n"
# CHECK: ? !!str "literal_keep"
# CHECK: : !!str "Hello\n\n\nworld\non\nmultiple    \n\n\nlines\n\nfoo bar\n\n\n\n"
# CHECK: ? !!str "folded_strip"
# CHECK: : !!str "Hello\n\nworld on multiple    \n\nlines\nfoo bar"
# CHECK: ? !!str "folded_clip"
# CHECK: : !!str "Hello\n\nworld on multiple    \n\nlines\nfoo bar\n"
# CHECK: ? !!str "folded_keep"
# CHECK: : !!str "Hello\n\nworld on multiple    \n\nlines\nfoo bar\n\n\n"

literal_strip: |-
    Hello


    world
    on
    multiple    
    
    
    lines
    
    foo bar
    
    

literal_clip: |
    Hello


    world
    on
    multiple    
    
    
    lines
    
    foo bar
    
    

literal_keep: |+
    Hello


    world
    on
    multiple    
    
    
    lines
    
    foo bar
    
    

folded_strip: >-
    Hello


    world
    on
    multiple    
    
    
    lines
    
    foo bar
    
    

folded_clip: >
    Hello


    world
    on
    multiple    
    
    
    lines
    
    foo bar
    
    

folded_keep: >+
    Hello


    world
    on
    multiple    
    
    
    lines
    
    foo bar