spec-10-08.test 2.3 KB

12345678910111213
  1. # RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
  2. #
  3. # FIXME: This test should fail. Yaml bench should report an error that a simple
  4. # key spans across multiple lines and that another simple key is longer than
  5. # 1024 characters.
  6. {
  7. multi-line
  8. simple key : value,
  9. very long ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................(>1KB)................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... key: value
  10. }
  11. # CHECK: ? !!str "very long