spec-05-12.test 440 B

123456789101112131415161718
  1. # RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
  2. #
  3. # FIXME: This test should actually fail. Yaml-bench should report an error
  4. # that a tab is being used to indent a plain scalar at line 15.
  5. # We don't currently reject tabs as indentation.
  6. # Tabs do's and don'ts:
  7. # comment:
  8. quoted: "Quoted "
  9. block: |
  10. void main() {
  11. printf("Hello, world!\n");
  12. }
  13. elsewhere: # separation
  14. indentation, in plain scalar
  15. # CHECK: !!str "Quoted\t\t"