File: sloppy-indentation.canonical

package info (click to toggle)
node-js-yaml 3.7.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,140 kB
  • ctags: 446
  • sloc: makefile: 88; sh: 15
file content (18 lines) | stat: -rw-r--r-- 523 bytes parent folder | download | duplicates (25)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
%YAML 1.1
---
!!map { 
    ? !!str "in the block context"
    : !!map {
        ? !!str "indentation should be kept"
        : !!map {
            ? !!str "but in the flow context"
            : !!seq [ !!str "it may be violated" ]
        }
    }
}
--- !!str
"the parser does not require scalars to be indented with at least one space"
--- !!str
"the parser does not require scalars to be indented with at least one space"
--- !!map
{ ? !!str "foo": { ? !!str "bar" : !!str "quoted scalars may not adhere indentation" } }