Chandler Carruth | 49589f0 | 2012-07-02 18:37:59 +0000 | [diff] [blame] | 1 | # RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s |
Michael J. Spencer | 93210e8 | 2012-04-03 23:09:22 +0000 | [diff] [blame] | 2 | # |
Alex Lorenz | 9e31c0c | 2015-05-07 18:08:46 +0000 | [diff] [blame] | 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. |
Michael J. Spencer | 93210e8 | 2012-04-03 23:09:22 +0000 | [diff] [blame] | 6 | |
| 7 | { |
| 8 | multi-line |
| 9 | simple key : value, |
| 10 | very long ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................(>1KB)................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... key: value |
| 11 | } |
| 12 | |
Alex Lorenz | 9e31c0c | 2015-05-07 18:08:46 +0000 | [diff] [blame] | 13 | # CHECK: ? !!str "very long |