Files
clang-p2996/llvm/test/YAMLParser/spec-02-17.test
Igor Kudrin a5a0248835 [YAMLParser] Enable tests for flow scalar styles. NFC (#71774)
This is a preparing commit for #70898 and #71775. It activates checks in
tests for single-quoted, double-quoted, and plain values and
demonstrates how they are handled currently.
2023-11-10 07:06:40 +07:00

17 lines
437 B
Plaintext

# RUN: yaml-bench -canonical %s | FileCheck %s
unicode: "Sosa did fine.\u263A"
control: "\b1998\t1999\t2000\n"
hexesc: "\x13\x10 is \r\n"
single: '"Howdy!" he cried.'
quoted: ' # not a ''comment''.'
tie-fighter: '|\-*-/|'
# CHECK: !!str "Sosa did fine.\u263A"
# CHECK: !!str "\b1998\t1999\t2000\n"
# CHECK: !!str "\x13\x10 is \r\n"
# CHECK: !!str "\"Howdy!\" he cried."
# CHECK: !!str " # not a 'comment'."
# CHECK: !!str "|\\-*-/|"