summaryrefslogtreecommitdiffstats
path: root/llvm/test/YAMLParser/spec-09-22.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/YAMLParser/spec-09-22.test')
-rw-r--r--llvm/test/YAMLParser/spec-09-22.test14
1 files changed, 10 insertions, 4 deletions
diff --git a/llvm/test/YAMLParser/spec-09-22.test b/llvm/test/YAMLParser/spec-09-22.test
index b95faa50b5d..726358dd5ba 100644
--- a/llvm/test/YAMLParser/spec-09-22.test
+++ b/llvm/test/YAMLParser/spec-09-22.test
@@ -1,6 +1,12 @@
-# RUN: yaml-bench -canonical %s
+# RUN: yaml-bench -canonical %s | FileCheck %s
+# CHECK: !!str "text"
+# CHECK: !!str "text\n"
+# CHECK: !!str "text\n\n"
strip: |-
- text
clip: |
- text…keep: |+
- text

+ text
+clip: |
+ text
+keep: |+
+ text
+
OpenPOWER on IntegriCloud