llvm-project/llvm/test/YAMLParser/spec-09-14.test

22 lines
369 B
Plaintext

# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
#
# FIXME: This test should actually fail. Yaml bench should report an error that
# says that the '---' and '...' document start/end markers must not be specified
# as the first content line of a non-indented plain scalar.
# CHECK: !!str
---
--- ||| : foo
... >>>: bar
---
[
---
,
... ,
{
--- :
... # Nested
}
]
...