xref: /aosp_15_r20/external/llvm/test/YAMLParser/sloppy-indentation.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: yaml-bench -canonical %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker---
4*9880d681SAndroid Build Coastguard Workerin the block context:
5*9880d681SAndroid Build Coastguard Worker    indentation should be kept: {
6*9880d681SAndroid Build Coastguard Worker    but in the flow context: [
7*9880d681SAndroid Build Coastguard Workerit may be violated]
8*9880d681SAndroid Build Coastguard Worker}
9*9880d681SAndroid Build Coastguard Worker---
10*9880d681SAndroid Build Coastguard Workerthe parser does not require scalars
11*9880d681SAndroid Build Coastguard Workerto be indented with at least one space
12*9880d681SAndroid Build Coastguard Worker...
13*9880d681SAndroid Build Coastguard Worker---
14*9880d681SAndroid Build Coastguard Worker"the parser does not require scalars
15*9880d681SAndroid Build Coastguard Workerto be indented with at least one space"
16*9880d681SAndroid Build Coastguard Worker---
17*9880d681SAndroid Build Coastguard Workerfoo:
18*9880d681SAndroid Build Coastguard Worker    bar: 'quoted scalars
19*9880d681SAndroid Build Coastguard Workermay not adhere indentation'
20