// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`aliases-in-block-sequence.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - &a a - &b b - *a - *b =====================================output===================================== - &a a - &b b - *a - *b ================================================================================ `; exports[`aliases-in-block-sequence.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - &a a - &b b - *a - *b =====================================output===================================== - &a a - &b b - *a - *b ================================================================================ `; exports[`aliases-in-explicit-block-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== ? &a a : &b b : *a =====================================output===================================== &a a: &b b : *a ================================================================================ `; exports[`aliases-in-explicit-block-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== ? &a a : &b b : *a =====================================output===================================== &a a: &b b : *a ================================================================================ `; exports[`allowed-characters-in-alias.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== a: &:@*!$": scalar a b: *:@*!$": =====================================output===================================== a: &:@*!$": scalar a b: *:@*!$": ================================================================================ `; exports[`allowed-characters-in-alias.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== a: &:@*!$": scalar a b: *:@*!$": =====================================output===================================== a: &:@*!$": scalar a b: *:@*!$": ================================================================================ `; exports[`allowed-characters-in-keys.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== a!"#$%&'()*+,-./09:;<=>?@AZ[\\]^_\`az{|}~: safe ?foo: safe question mark :foo: safe colon -foo: safe dash this is#not: a comment =====================================output===================================== a!"#$%&'()*+,-./09:;<=>?@AZ[\\]^_\`az{|}~: safe ?foo: safe question mark :foo: safe colon -foo: safe dash this is#not: a comment ================================================================================ `; exports[`allowed-characters-in-keys.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== a!"#$%&'()*+,-./09:;<=>?@AZ[\\]^_\`az{|}~: safe ?foo: safe question mark :foo: safe colon -foo: safe dash this is#not: a comment =====================================output===================================== a!"#$%&'()*+,-./09:;<=>?@AZ[\\]^_\`az{|}~: safe ?foo: safe question mark :foo: safe colon -foo: safe dash this is#not: a comment ================================================================================ `; exports[`allowed-characters-in-plain-scalars.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== safe: a!"#$%&'()*+,-./09:;<=>?@AZ[\\]^_\`az{|}~ !"#$%&'()*+,-./09:;<=>?@AZ[\\]^_\`az{|}~ safe question mark: ?foo safe colon: :foo safe dash: -foo =====================================output===================================== safe: a!"#$%&'()*+,-./09:;<=>?@AZ[\\]^_\`az{|}~ !"#$%&'()*+,-./09:;<=>?@AZ[\\]^_\`az{|}~ safe question mark: ?foo safe colon: :foo safe dash: -foo ================================================================================ `; exports[`allowed-characters-in-plain-scalars.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== safe: a!"#$%&'()*+,-./09:;<=>?@AZ[\\]^_\`az{|}~ !"#$%&'()*+,-./09:;<=>?@AZ[\\]^_\`az{|}~ safe question mark: ?foo safe colon: :foo safe dash: -foo =====================================output===================================== safe: a!"#$%&'()*+,-./09:;<=>?@AZ[\\]^_\`az{|}~ !"#$%&'()*+,-./09:;<=>?@AZ[\\]^_\`az{|}~ safe question mark: ?foo safe colon: :foo safe dash: -foo ================================================================================ `; exports[`allowed-characters-in-quoted-mapping-key.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== "foo\\nbar:baz\\tx \\\\$%^&*()x": 23 'x\\ny:z\\tx $%^&*()x': 24 =====================================output===================================== "foo\\nbar:baz\\tx \\\\$%^&*()x": 23 'x\\ny:z\\tx $%^&*()x': 24 ================================================================================ `; exports[`allowed-characters-in-quoted-mapping-key.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== "foo\\nbar:baz\\tx \\\\$%^&*()x": 23 'x\\ny:z\\tx $%^&*()x': 24 =====================================output===================================== "foo\\nbar:baz\\tx \\\\$%^&*()x": 23 'x\\ny:z\\tx $%^&*()x': 24 ================================================================================ `; exports[`anchor-before-zero-indented-sequence.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- seq: &anchor - a - b =====================================output===================================== --- seq: &anchor - a - b ================================================================================ `; exports[`anchor-before-zero-indented-sequence.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- seq: &anchor - a - b =====================================output===================================== --- seq: &anchor - a - b ================================================================================ `; exports[`anchor-with-unicode-character.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- - &šŸ˜ unicode anchor =====================================output===================================== --- - &šŸ˜ unicode anchor ================================================================================ `; exports[`anchor-with-unicode-character.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- - &šŸ˜ unicode anchor =====================================output===================================== --- - &šŸ˜ unicode anchor ================================================================================ `; exports[`anchors-and-tags.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - &a !!str a - !!int 2 - !!int &c 4 - &d d =====================================output===================================== - !!str &a a - !!int 2 - !!int &c 4 - &d d ================================================================================ `; exports[`anchors-and-tags.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - &a !!str a - !!int 2 - !!int &c 4 - &d d =====================================output===================================== - !!str &a a - !!int 2 - !!int &c 4 - &d d ================================================================================ `; exports[`anchors-in-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== &a a: b c: &d d =====================================output===================================== &a a: b c: &d d ================================================================================ `; exports[`anchors-in-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== &a a: b c: &d d =====================================output===================================== &a a: b c: &d d ================================================================================ `; exports[`anchors-with-colon-in-name.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== &a: key: &a value foo: *a: =====================================output===================================== &a: key: &a value foo: *a: ================================================================================ `; exports[`anchors-with-colon-in-name.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== &a: key: &a value foo: *a: =====================================output===================================== &a: key: &a value foo: *a: ================================================================================ `; exports[`backslashes-in-singlequotes.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== 'foo: bar\\': baz' =====================================output===================================== 'foo: bar\\': baz' ================================================================================ `; exports[`backslashes-in-singlequotes.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== 'foo: bar\\': baz' =====================================output===================================== 'foo: bar\\': baz' ================================================================================ `; exports[`bare-document-after-document-end-marker.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- scalar1 ... key: value =====================================output===================================== --- scalar1 --- key: value ================================================================================ `; exports[`bare-document-after-document-end-marker.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- scalar1 ... key: value =====================================output===================================== --- scalar1 --- key: value ================================================================================ `; exports[`blank-lines.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== foo: 1 bar: 2 text: | a b c d =====================================output===================================== foo: 1 bar: 2 text: | a b c d ================================================================================ `; exports[`blank-lines.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== foo: 1 bar: 2 text: | a b c d =====================================output===================================== foo: 1 bar: 2 text: | a b c d ================================================================================ `; exports[`block-mapping-with-missing-values.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== ? a ? b c: =====================================output===================================== a: b: c: ================================================================================ `; exports[`block-mapping-with-missing-values.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== ? a ? b c: =====================================output===================================== a: b: c: ================================================================================ `; exports[`block-mapping-with-multiline-scalars.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== ? a true : null d ? e 42 =====================================output===================================== ? a true : null d ? e 42 ================================================================================ `; exports[`block-mapping-with-multiline-scalars.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== ? a true : null d ? e 42 =====================================output===================================== a true: null d ? e 42 ================================================================================ `; exports[`block-mappings-in-block-sequence.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - key: value key2: value2 - key3: value3 =====================================output===================================== - key: value key2: value2 - key3: value3 ================================================================================ `; exports[`block-mappings-in-block-sequence.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - key: value key2: value2 - key3: value3 =====================================output===================================== - key: value key2: value2 - key3: value3 ================================================================================ `; exports[`block-scalar-indicator-order.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - |2- explicit indent and chomp - |-2 chomp and explicit indent =====================================output===================================== - |2- explicit indent and chomp - |2- chomp and explicit indent ================================================================================ `; exports[`block-scalar-indicator-order.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - |2- explicit indent and chomp - |-2 chomp and explicit indent =====================================output===================================== - |2- explicit indent and chomp - |2- chomp and explicit indent ================================================================================ `; exports[`block-scalar-keep.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- |+ ab ... =====================================output===================================== --- |+ ab ================================================================================ `; exports[`block-scalar-keep.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- |+ ab ... =====================================output===================================== --- |+ ab ================================================================================ `; exports[`block-scalar-strip.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== |- ab ... =====================================output===================================== |- ab ================================================================================ `; exports[`block-scalar-strip.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== |- ab ... =====================================output===================================== |- ab ================================================================================ `; exports[`block-scalar-with-spaces-only.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== empty block scalar: > # comment =====================================output===================================== empty block scalar: > # comment ================================================================================ `; exports[`block-scalar-with-spaces-only.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== empty block scalar: > # comment =====================================output===================================== empty block scalar: > # comment ================================================================================ `; exports[`block-sequence-in-block-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== key: - item1 - item2 =====================================output===================================== key: - item1 - item2 ================================================================================ `; exports[`block-sequence-in-block-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== key: - item1 - item2 =====================================output===================================== key: - item1 - item2 ================================================================================ `; exports[`block-sequence-in-block-sequence.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - - s1_i1 - s1_i2 - s2 =====================================output===================================== - - s1_i1 - s1_i2 - s2 ================================================================================ `; exports[`block-sequence-in-block-sequence.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - - s1_i1 - s1_i2 - s2 =====================================output===================================== - - s1_i1 - s1_i2 - s2 ================================================================================ `; exports[`block-submapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== foo: bar: 1 baz: 2 =====================================output===================================== foo: bar: 1 baz: 2 ================================================================================ `; exports[`block-submapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== foo: bar: 1 baz: 2 =====================================output===================================== foo: bar: 1 baz: 2 ================================================================================ `; exports[`colon-in-double-quoted-string.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== "foo: bar\\": baz" =====================================output===================================== 'foo: bar": baz' ================================================================================ `; exports[`colon-in-double-quoted-string.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== "foo: bar\\": baz" =====================================output===================================== 'foo: bar": baz' ================================================================================ `; exports[`comment-in-flow-sequence-before-comma.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- [ word1 # comment , word2] =====================================output===================================== --- [ word1, # comment word2, ] ================================================================================ `; exports[`comment-in-flow-sequence-before-comma.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- [ word1 # comment , word2] =====================================output===================================== --- [ word1, # comment word2, ] ================================================================================ `; exports[`construct-binary.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== canonical: !!binary "\\ R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\\ OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\\ +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\\ AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=" generic: !!binary | R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5 OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+ +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs= description: The binary value above is a tiny arrow encoded as a gif image. =====================================output===================================== canonical: !!binary "\\ R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\\ OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\\ +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\\ AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=" generic: !!binary | R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5 OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+ +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs= description: The binary value above is a tiny arrow encoded as a gif image. ================================================================================ `; exports[`construct-binary.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== canonical: !!binary "\\ R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\\ OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\\ +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\\ AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=" generic: !!binary | R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5 OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+ +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs= description: The binary value above is a tiny arrow encoded as a gif image. =====================================output===================================== canonical: !!binary "\\ R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\\ OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\\ +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\\ AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=" generic: !!binary | R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5 OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+ +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs= description: The binary value above is a tiny arrow encoded as a gif image. ================================================================================ `; exports[`document-start-on-last-line.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- a: b --- =====================================output===================================== --- a: b --- ================================================================================ `; exports[`document-start-on-last-line.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- a: b --- =====================================output===================================== --- a: b --- ================================================================================ `; exports[`document-with-footer.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== aaa: bbb ... =====================================output===================================== aaa: bbb ================================================================================ `; exports[`document-with-footer.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== aaa: bbb ... =====================================output===================================== aaa: bbb ================================================================================ `; exports[`empty-lines-at-end-of-document.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== : =====================================output===================================== : ================================================================================ `; exports[`empty-lines-at-end-of-document.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== : =====================================output===================================== : ================================================================================ `; exports[`empty-lines-between-mapping-elements.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== 1: 2 3: 4 =====================================output===================================== 1: 2 3: 4 ================================================================================ `; exports[`empty-lines-between-mapping-elements.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== 1: 2 3: 4 =====================================output===================================== 1: 2 3: 4 ================================================================================ `; exports[`empty-stream.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== =====================================output===================================== ================================================================================ `; exports[`empty-stream.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== =====================================output===================================== ================================================================================ `; exports[`escaped-slash-in-double-quotes.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== escaped slash: "a\\/b" =====================================output===================================== escaped slash: "a\\/b" ================================================================================ `; exports[`escaped-slash-in-double-quotes.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== escaped slash: "a\\/b" =====================================output===================================== escaped slash: "a\\/b" ================================================================================ `; exports[`explicit-non-specific-tag.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== ! a =====================================output===================================== ! a ================================================================================ `; exports[`explicit-non-specific-tag.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== ! a =====================================output===================================== ! a ================================================================================ `; exports[`flow-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== {foo: you, bar: far} =====================================output===================================== { foo: you, bar: far } ================================================================================ `; exports[`flow-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== {foo: you, bar: far} =====================================output===================================== { foo: you, bar: far } ================================================================================ `; exports[`flow-mapping-in-block-sequence.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - {a: b} =====================================output===================================== - { a: b } ================================================================================ `; exports[`flow-mapping-in-block-sequence.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - {a: b} =====================================output===================================== - { a: b } ================================================================================ `; exports[`flow-sequence.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== [foo, bar, 42] =====================================output===================================== [foo, bar, 42] ================================================================================ `; exports[`flow-sequence.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== [foo, bar, 42] =====================================output===================================== [foo, bar, 42] ================================================================================ `; exports[`flow-sequence-in-block-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== a: [b, c] =====================================output===================================== a: [b, c] ================================================================================ `; exports[`flow-sequence-in-block-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== a: [b, c] =====================================output===================================== a: [b, c] ================================================================================ `; exports[`flow-sequence-in-flow-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== {a: [b, c], [d, e]: f} =====================================output===================================== { a: [b, c], [d, e]: f } ================================================================================ `; exports[`flow-sequence-in-flow-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== {a: [b, c], [d, e]: f} =====================================output===================================== { a: [b, c], [d, e]: f } ================================================================================ `; exports[`flow-sequence-in-flow-sequence.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== [a, [b, c]] =====================================output===================================== [a, [b, c]] ================================================================================ `; exports[`flow-sequence-in-flow-sequence.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== [a, [b, c]] =====================================output===================================== [a, [b, c]] ================================================================================ `; exports[`folded-block-scalar.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== > ab cd ef gh =====================================output===================================== > ab cd ef gh ================================================================================ `; exports[`folded-block-scalar.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== > ab cd ef gh =====================================output===================================== > ab cd ef gh ================================================================================ `; exports[`implicit-flow-mapping-key-on-one-line.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== [flow]: block =====================================output===================================== [flow]: block ================================================================================ `; exports[`implicit-flow-mapping-key-on-one-line.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== [flow]: block =====================================output===================================== [flow]: block ================================================================================ `; exports[`key-with-anchor-after-missing-explicit-mapping-value.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- a: 1 ? b &anchor c: 3 =====================================output===================================== --- a: 1 b: &anchor c: 3 ================================================================================ `; exports[`key-with-anchor-after-missing-explicit-mapping-value.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- a: 1 ? b &anchor c: 3 =====================================output===================================== --- a: 1 b: &anchor c: 3 ================================================================================ `; exports[`literal-block-scalar.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== a: | ab cd ef ... =====================================output===================================== a: | ab cd ef ================================================================================ `; exports[`literal-block-scalar.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== a: | ab cd ef ... =====================================output===================================== a: | ab cd ef ================================================================================ `; exports[`literal-unicode.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- wanted: love ā™„ and peace ā˜® =====================================output===================================== --- wanted: love ā™„ and peace ā˜® ================================================================================ `; exports[`literal-unicode.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- wanted: love ā™„ and peace ā˜® =====================================output===================================== --- wanted: love ā™„ and peace ā˜® ================================================================================ `; exports[`lookahead-test-cases.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - bla"keks: foo - bla]keks: foo =====================================output===================================== - bla"keks: foo - bla]keks: foo ================================================================================ `; exports[`lookahead-test-cases.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - bla"keks: foo - bla]keks: foo =====================================output===================================== - bla"keks: foo - bla]keks: foo ================================================================================ `; exports[`mapping-key-and-flow-sequence-item-anchors.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- &mapping &key [ &item a, b, c ]: value =====================================output===================================== --- &mapping &key [&item a, b, c]: value ================================================================================ `; exports[`mapping-key-and-flow-sequence-item-anchors.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- &mapping &key [ &item a, b, c ]: value =====================================output===================================== --- &mapping &key [&item a, b, c]: value ================================================================================ `; exports[`mixed-block-mapping-explicit-to-implicit.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== ? a : 13 1.5: d =====================================output===================================== a: 13 1.5: d ================================================================================ `; exports[`mixed-block-mapping-explicit-to-implicit.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== ? a : 13 1.5: d =====================================output===================================== a: 13 1.5: d ================================================================================ `; exports[`mixed-block-mapping-implicit-to-explicit.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== a: 4.2 ? 23 : d =====================================output===================================== a: 4.2 23: d ================================================================================ `; exports[`mixed-block-mapping-implicit-to-explicit.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== a: 4.2 ? 23 : d =====================================output===================================== a: 4.2 23: d ================================================================================ `; exports[`multi-level-mapping-indent.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== a: b: c: d e: f: g h: i =====================================output===================================== a: b: c: d e: f: g h: i ================================================================================ `; exports[`multi-level-mapping-indent.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== a: b: c: d e: f: g h: i =====================================output===================================== a: b: c: d e: f: g h: i ================================================================================ `; exports[`multiline-plain-scalar-with-empty-line.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- plain: a b c =====================================output===================================== --- plain: a b c ================================================================================ `; exports[`multiline-plain-scalar-with-empty-line.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- plain: a b c =====================================output===================================== --- plain: a b c ================================================================================ `; exports[`multiline-scalar-at-top-level.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== a b c d e =====================================output===================================== a b c d e ================================================================================ `; exports[`multiline-scalar-at-top-level.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== a b c d e =====================================output===================================== a b c d e ================================================================================ `; exports[`multiline-scalar-in-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== a: b c d: e f =====================================output===================================== a: b c d: e f ================================================================================ `; exports[`multiline-scalar-in-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== a: b c d: e f =====================================output===================================== a: b c d: e f ================================================================================ `; exports[`multiline-scalar-that-looks-like-a-yaml-directive.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- scalar %YAML 1.2 =====================================output===================================== --- scalar %YAML 1.2 ================================================================================ `; exports[`multiline-scalar-that-looks-like-a-yaml-directive.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- scalar %YAML 1.2 =====================================output===================================== --- scalar %YAML 1.2 ================================================================================ `; exports[`multiple-entry-block-sequence.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - foo - bar - 42 =====================================output===================================== - foo - bar - 42 ================================================================================ `; exports[`multiple-entry-block-sequence.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - foo - bar - 42 =====================================output===================================== - foo - bar - 42 ================================================================================ `; exports[`multiple-pair-block-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== foo: blue bar: arrr baz: jazz =====================================output===================================== foo: blue bar: arrr baz: jazz ================================================================================ `; exports[`multiple-pair-block-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== foo: blue bar: arrr baz: jazz =====================================output===================================== foo: blue bar: arrr baz: jazz ================================================================================ `; exports[`nested-flow-collections.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- { a: [ b, c, { d: [e, f] } ] } =====================================output===================================== --- { a: [b, c, { d: [e, f] }] } ================================================================================ `; exports[`nested-flow-collections.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- { a: [ b, c, { d: [e, f] } ] } =====================================output===================================== --- { a: [b, c, { d: [e, f] }] } ================================================================================ `; exports[`nested-flow-collections-on-one-line.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- { a: [b, c, { d: [e, f] } ] } =====================================output===================================== --- { a: [b, c, { d: [e, f] }] } ================================================================================ `; exports[`nested-flow-collections-on-one-line.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- { a: [b, c, { d: [e, f] } ] } =====================================output===================================== --- { a: [b, c, { d: [e, f] }] } ================================================================================ `; exports[`node-anchor-and-tag-on-seperate-lines.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== key: &anchor !!map a: b =====================================output===================================== key: !!map &anchor a: b ================================================================================ `; exports[`node-anchor-and-tag-on-seperate-lines.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== key: &anchor !!map a: b =====================================output===================================== key: !!map &anchor a: b ================================================================================ `; exports[`node-and-mapping-key-anchors.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- top1: &node1 &k1 key1: one top2: &node2 # comment key2: two top3: &k3 key3: three top4: &node4 &k4 key4: four top5: &node5 key5: five top6: &val6 six top7: &val7 seven =====================================output===================================== --- top1: &node1 &k1 key1: one top2: &node2 # comment key2: two top3: &k3 key3: three top4: &node4 &k4 key4: four top5: &node5 key5: five top6: &val6 six top7: &val7 seven ================================================================================ `; exports[`node-and-mapping-key-anchors.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- top1: &node1 &k1 key1: one top2: &node2 # comment key2: two top3: &k3 key3: three top4: &node4 &k4 key4: four top5: &node5 key5: five top6: &val6 six top7: &val7 seven =====================================output===================================== --- top1: &node1 &k1 key1: one top2: &node2 # comment key2: two top3: &k3 key3: three top4: &node4 &k4 key4: four top5: &node5 key5: five top6: &val6 six top7: &val7 seven ================================================================================ `; exports[`non-specific-tags-on-scalars.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - plain - "double quoted" - 'single quoted' - > block - plain again =====================================output===================================== - plain - "double quoted" - "single quoted" - > block - plain again ================================================================================ `; exports[`non-specific-tags-on-scalars.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - plain - "double quoted" - 'single quoted' - > block - plain again =====================================output===================================== - plain - "double quoted" - "single quoted" - > block - plain again ================================================================================ `; exports[`plain-mapping-key-ending-with-colon.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- key ends with two colons::: value =====================================output===================================== --- key ends with two colons::: value ================================================================================ `; exports[`plain-mapping-key-ending-with-colon.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- key ends with two colons::: value =====================================output===================================== --- key ends with two colons::: value ================================================================================ `; exports[`plain-scalar-looking-like-key-comment-anchor-and-tag.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== k:#foo &a !t s =====================================output===================================== k:#foo &a !t s ================================================================================ `; exports[`plain-scalar-looking-like-key-comment-anchor-and-tag.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== k:#foo &a !t s =====================================output===================================== k:#foo &a !t s ================================================================================ `; exports[`plain-scalar-with-backslashes.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- plain\\value\\with\\backslashes =====================================output===================================== --- plain\\value\\with\\backslashes ================================================================================ `; exports[`plain-scalar-with-backslashes.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- plain\\value\\with\\backslashes =====================================output===================================== --- plain\\value\\with\\backslashes ================================================================================ `; exports[`plain-url-in-flow-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - { url: http://example.org } =====================================output===================================== - { url: http://example.org } ================================================================================ `; exports[`plain-url-in-flow-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - { url: http://example.org } =====================================output===================================== - { url: http://example.org } ================================================================================ `; exports[`scalars-on-line.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- "quoted string" --- &node foo =====================================output===================================== --- "quoted string" --- &node foo ================================================================================ `; exports[`scalars-on-line.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- "quoted string" --- &node foo =====================================output===================================== --- "quoted string" --- &node foo ================================================================================ `; exports[`sequence-entry-that-looks-like-two-with-wrong-indentation.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - single multiline - sequence entry =====================================output===================================== - single multiline - sequence entry ================================================================================ `; exports[`sequence-entry-that-looks-like-two-with-wrong-indentation.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - single multiline - sequence entry =====================================output===================================== - single multiline - sequence entry ================================================================================ `; exports[`sequence-indent.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== foo: - 42 bar: - 44 =====================================output===================================== foo: - 42 bar: - 44 ================================================================================ `; exports[`sequence-indent.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== foo: - 42 bar: - 44 =====================================output===================================== foo: - 42 bar: - 44 ================================================================================ `; exports[`sequence-with-same-indentation-as-parent-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== 1: - 2 - 3 4: 5 =====================================output===================================== 1: - 2 - 3 4: 5 ================================================================================ `; exports[`sequence-with-same-indentation-as-parent-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== 1: - 2 - 3 4: 5 =====================================output===================================== 1: - 2 - 3 4: 5 ================================================================================ `; exports[`simple-mapping-indent.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== foo: bar: baz =====================================output===================================== foo: bar: baz ================================================================================ `; exports[`simple-mapping-indent.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== foo: bar: baz =====================================output===================================== foo: bar: baz ================================================================================ `; exports[`single-entry-block-sequence.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - foo =====================================output===================================== - foo ================================================================================ `; exports[`single-entry-block-sequence.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - foo =====================================output===================================== - foo ================================================================================ `; exports[`single-pair-block-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== foo: bar =====================================output===================================== foo: bar ================================================================================ `; exports[`single-pair-block-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== foo: bar =====================================output===================================== foo: bar ================================================================================ `; exports[`spec-example-2-1-sequence-of-scalars.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - Mark McGwire - Sammy Sosa - Ken Griffey =====================================output===================================== - Mark McGwire - Sammy Sosa - Ken Griffey ================================================================================ `; exports[`spec-example-2-1-sequence-of-scalars.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - Mark McGwire - Sammy Sosa - Ken Griffey =====================================output===================================== - Mark McGwire - Sammy Sosa - Ken Griffey ================================================================================ `; exports[`spec-example-2-2-mapping-scalars-to-scalars.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== hr: 65 # Home runs avg: 0.278 # Batting average rbi: 147 # Runs Batted In =====================================output===================================== hr: 65 # Home runs avg: 0.278 # Batting average rbi: 147 # Runs Batted In ================================================================================ `; exports[`spec-example-2-2-mapping-scalars-to-scalars.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== hr: 65 # Home runs avg: 0.278 # Batting average rbi: 147 # Runs Batted In =====================================output===================================== hr: 65 # Home runs avg: 0.278 # Batting average rbi: 147 # Runs Batted In ================================================================================ `; exports[`spec-example-2-3-mapping-scalars-to-sequences.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== american: - Boston Red Sox - Detroit Tigers - New York Yankees national: - New York Mets - Chicago Cubs - Atlanta Braves =====================================output===================================== american: - Boston Red Sox - Detroit Tigers - New York Yankees national: - New York Mets - Chicago Cubs - Atlanta Braves ================================================================================ `; exports[`spec-example-2-3-mapping-scalars-to-sequences.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== american: - Boston Red Sox - Detroit Tigers - New York Yankees national: - New York Mets - Chicago Cubs - Atlanta Braves =====================================output===================================== american: - Boston Red Sox - Detroit Tigers - New York Yankees national: - New York Mets - Chicago Cubs - Atlanta Braves ================================================================================ `; exports[`spec-example-2-4-sequence-of-mappings.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - name: Mark McGwire hr: 65 avg: 0.278 - name: Sammy Sosa hr: 63 avg: 0.288 =====================================output===================================== - name: Mark McGwire hr: 65 avg: 0.278 - name: Sammy Sosa hr: 63 avg: 0.288 ================================================================================ `; exports[`spec-example-2-4-sequence-of-mappings.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - name: Mark McGwire hr: 65 avg: 0.278 - name: Sammy Sosa hr: 63 avg: 0.288 =====================================output===================================== - name: Mark McGwire hr: 65 avg: 0.278 - name: Sammy Sosa hr: 63 avg: 0.288 ================================================================================ `; exports[`spec-example-2-5-sequence-of-sequences.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - [name , hr, avg ] - [Mark McGwire, 65, 0.278] - [Sammy Sosa , 63, 0.288] =====================================output===================================== - [name, hr, avg] - [Mark McGwire, 65, 0.278] - [Sammy Sosa, 63, 0.288] ================================================================================ `; exports[`spec-example-2-5-sequence-of-sequences.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - [name , hr, avg ] - [Mark McGwire, 65, 0.278] - [Sammy Sosa , 63, 0.288] =====================================output===================================== - [name, hr, avg] - [Mark McGwire, 65, 0.278] - [Sammy Sosa, 63, 0.288] ================================================================================ `; exports[`spec-example-2-6-mapping-of-mappings.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== Mark McGwire: {hr: 65, avg: 0.278} Sammy Sosa: { hr: 63, avg: 0.288 } =====================================output===================================== Mark McGwire: { hr: 65, avg: 0.278 } Sammy Sosa: { hr: 63, avg: 0.288 } ================================================================================ `; exports[`spec-example-2-6-mapping-of-mappings.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== Mark McGwire: {hr: 65, avg: 0.278} Sammy Sosa: { hr: 63, avg: 0.288 } =====================================output===================================== Mark McGwire: { hr: 65, avg: 0.278 } Sammy Sosa: { hr: 63, avg: 0.288 } ================================================================================ `; exports[`spec-example-2-7-two-documents-in-a-stream.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== # Ranking of 1998 home runs --- - Mark McGwire - Sammy Sosa - Ken Griffey # Team ranking --- - Chicago Cubs - St Louis Cardinals =====================================output===================================== # Ranking of 1998 home runs --- - Mark McGwire - Sammy Sosa - Ken Griffey # Team ranking --- - Chicago Cubs - St Louis Cardinals ================================================================================ `; exports[`spec-example-2-7-two-documents-in-a-stream.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== # Ranking of 1998 home runs --- - Mark McGwire - Sammy Sosa - Ken Griffey # Team ranking --- - Chicago Cubs - St Louis Cardinals =====================================output===================================== # Ranking of 1998 home runs --- - Mark McGwire - Sammy Sosa - Ken Griffey # Team ranking --- - Chicago Cubs - St Louis Cardinals ================================================================================ `; exports[`spec-example-2-8-play-by-play-feed-from-a-game.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- time: 20:03:20 player: Sammy Sosa action: strike (miss) ... --- time: 20:03:47 player: Sammy Sosa action: grand slam ... =====================================output===================================== --- time: 20:03:20 player: Sammy Sosa action: strike (miss) --- time: 20:03:47 player: Sammy Sosa action: grand slam ================================================================================ `; exports[`spec-example-2-8-play-by-play-feed-from-a-game.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- time: 20:03:20 player: Sammy Sosa action: strike (miss) ... --- time: 20:03:47 player: Sammy Sosa action: grand slam ... =====================================output===================================== --- time: 20:03:20 player: Sammy Sosa action: strike (miss) --- time: 20:03:47 player: Sammy Sosa action: grand slam ================================================================================ `; exports[`spec-example-2-9-single-document-with-two-comments.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- hr: # 1998 hr ranking - Mark McGwire - Sammy Sosa rbi: # 1998 rbi ranking - Sammy Sosa - Ken Griffey =====================================output===================================== --- hr: # 1998 hr ranking - Mark McGwire - Sammy Sosa rbi: # 1998 rbi ranking - Sammy Sosa - Ken Griffey ================================================================================ `; exports[`spec-example-2-9-single-document-with-two-comments.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- hr: # 1998 hr ranking - Mark McGwire - Sammy Sosa rbi: # 1998 rbi ranking - Sammy Sosa - Ken Griffey =====================================output===================================== --- hr: # 1998 hr ranking - Mark McGwire - Sammy Sosa rbi: # 1998 rbi ranking - Sammy Sosa - Ken Griffey ================================================================================ `; exports[`spec-example-2-10-node-for-sammy-sosa-appears-twice-in-this-document.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- hr: - Mark McGwire # Following node labeled SS - &SS Sammy Sosa rbi: - *SS # Subsequent occurrence - Ken Griffey =====================================output===================================== --- hr: - Mark McGwire # Following node labeled SS - &SS Sammy Sosa rbi: - *SS # Subsequent occurrence - Ken Griffey ================================================================================ `; exports[`spec-example-2-10-node-for-sammy-sosa-appears-twice-in-this-document.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- hr: - Mark McGwire # Following node labeled SS - &SS Sammy Sosa rbi: - *SS # Subsequent occurrence - Ken Griffey =====================================output===================================== --- hr: - Mark McGwire # Following node labeled SS - &SS Sammy Sosa rbi: - *SS # Subsequent occurrence - Ken Griffey ================================================================================ `; exports[`spec-example-2-11-mapping-between-sequences.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== ? - Detroit Tigers - Chicago cubs : - 2001-07-23 ? [ New York Yankees, Atlanta Braves ] : [ 2001-07-02, 2001-08-12, 2001-08-14 ] =====================================output===================================== ? - Detroit Tigers - Chicago cubs : - 2001-07-23 [New York Yankees, Atlanta Braves]: [2001-07-02, 2001-08-12, 2001-08-14] ================================================================================ `; exports[`spec-example-2-11-mapping-between-sequences.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== ? - Detroit Tigers - Chicago cubs : - 2001-07-23 ? [ New York Yankees, Atlanta Braves ] : [ 2001-07-02, 2001-08-12, 2001-08-14 ] =====================================output===================================== ? - Detroit Tigers - Chicago cubs : - 2001-07-23 [New York Yankees, Atlanta Braves]: [2001-07-02, 2001-08-12, 2001-08-14] ================================================================================ `; exports[`spec-example-2-12-compact-nested-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- # Products purchased - item : Super Hoop quantity: 1 - item : Basketball quantity: 4 - item : Big Shoes quantity: 1 =====================================output===================================== --- # Products purchased - item: Super Hoop quantity: 1 - item: Basketball quantity: 4 - item: Big Shoes quantity: 1 ================================================================================ `; exports[`spec-example-2-12-compact-nested-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- # Products purchased - item : Super Hoop quantity: 1 - item : Basketball quantity: 4 - item : Big Shoes quantity: 1 =====================================output===================================== --- # Products purchased - item: Super Hoop quantity: 1 - item: Basketball quantity: 4 - item: Big Shoes quantity: 1 ================================================================================ `; exports[`spec-example-2-13-in-literals-newlines-are-preserved.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== # ASCII Art --- | \\//||\\/|| // || ||__ =====================================output===================================== # ASCII Art --- | \\//||\\/|| // || ||__ ================================================================================ `; exports[`spec-example-2-13-in-literals-newlines-are-preserved.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== # ASCII Art --- | \\//||\\/|| // || ||__ =====================================output===================================== # ASCII Art --- | \\//||\\/|| // || ||__ ================================================================================ `; exports[`spec-example-2-14-in-the-folded-scalars-newlines-become-spaces.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- > Mark McGwire's year was crippled by a knee injury. =====================================output===================================== --- > Mark McGwire's year was crippled by a knee injury. ================================================================================ `; exports[`spec-example-2-14-in-the-folded-scalars-newlines-become-spaces.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- > Mark McGwire's year was crippled by a knee injury. =====================================output===================================== --- > Mark McGwire's year was crippled by a knee injury. ================================================================================ `; exports[`spec-example-2-15-folded-newlines-are-preserved-for-more-indented-and-blank-lines.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== > Sammy Sosa completed another fine season with great stats. 63 Home Runs 0.288 Batting Average What a year! =====================================output===================================== > Sammy Sosa completed another fine season with great stats. 63 Home Runs 0.288 Batting Average What a year! ================================================================================ `; exports[`spec-example-2-15-folded-newlines-are-preserved-for-more-indented-and-blank-lines.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== > Sammy Sosa completed another fine season with great stats. 63 Home Runs 0.288 Batting Average What a year! =====================================output===================================== > Sammy Sosa completed another fine season with great stats. 63 Home Runs 0.288 Batting Average What a year! ================================================================================ `; exports[`spec-example-2-16-indentation-determines-scope.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== name: Mark McGwire accomplishment: > Mark set a major league home run record in 1998. stats: | 65 Home Runs 0.278 Batting Average =====================================output===================================== name: Mark McGwire accomplishment: > Mark set a major league home run record in 1998. stats: | 65 Home Runs 0.278 Batting Average ================================================================================ `; exports[`spec-example-2-16-indentation-determines-scope.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== name: Mark McGwire accomplishment: > Mark set a major league home run record in 1998. stats: | 65 Home Runs 0.278 Batting Average =====================================output===================================== name: Mark McGwire accomplishment: > Mark set a major league home run record in 1998. stats: | 65 Home Runs 0.278 Batting Average ================================================================================ `; exports[`spec-example-2-17-quoted-scalars.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== unicode: "Sosa did fine.\\u263A" control: "\\b1998\\t1999\\t2000\\n" hex esc: "\\x0d\\x0a is \\r\\n" single: '"Howdy!" he cried.' quoted: ' # Not a ''comment''.' tie-fighter: '|\\-*-/|' =====================================output===================================== unicode: "Sosa did fine.\\u263A" control: "\\b1998\\t1999\\t2000\\n" hex esc: "\\x0d\\x0a is \\r\\n" single: '"Howdy!" he cried.' quoted: " # Not a 'comment'." tie-fighter: '|\\-*-/|' ================================================================================ `; exports[`spec-example-2-17-quoted-scalars.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== unicode: "Sosa did fine.\\u263A" control: "\\b1998\\t1999\\t2000\\n" hex esc: "\\x0d\\x0a is \\r\\n" single: '"Howdy!" he cried.' quoted: ' # Not a ''comment''.' tie-fighter: '|\\-*-/|' =====================================output===================================== unicode: "Sosa did fine.\\u263A" control: "\\b1998\\t1999\\t2000\\n" hex esc: "\\x0d\\x0a is \\r\\n" single: '"Howdy!" he cried.' quoted: " # Not a 'comment'." tie-fighter: '|\\-*-/|' ================================================================================ `; exports[`spec-example-2-18-multi-line-flow-scalars.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== plain: This unquoted scalar spans many lines. quoted: "So does this quoted scalar.\\n" =====================================output===================================== plain: This unquoted scalar spans many lines. quoted: "So does this quoted scalar.\\n" ================================================================================ `; exports[`spec-example-2-18-multi-line-flow-scalars.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== plain: This unquoted scalar spans many lines. quoted: "So does this quoted scalar.\\n" =====================================output===================================== plain: This unquoted scalar spans many lines. quoted: "So does this quoted scalar.\\n" ================================================================================ `; exports[`spec-example-2-23-various-explicit-tags.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- not-date: !!str 2002-04-28 picture: !!binary | R0lGODlhDAAMAIQAAP//9/X 17unp5WZmZgAAAOfn515eXv Pz7Y6OjuDg4J+fn5OTk6enp 56enmleECcgggoBADs= application specific tag: !something | The semantics of the tag above may be different for different documents. =====================================output===================================== --- not-date: !!str 2002-04-28 picture: !!binary | R0lGODlhDAAMAIQAAP//9/X 17unp5WZmZgAAAOfn515eXv Pz7Y6OjuDg4J+fn5OTk6enp 56enmleECcgggoBADs= application specific tag: !something | The semantics of the tag above may be different for different documents. ================================================================================ `; exports[`spec-example-2-23-various-explicit-tags.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- not-date: !!str 2002-04-28 picture: !!binary | R0lGODlhDAAMAIQAAP//9/X 17unp5WZmZgAAAOfn515eXv Pz7Y6OjuDg4J+fn5OTk6enp 56enmleECcgggoBADs= application specific tag: !something | The semantics of the tag above may be different for different documents. =====================================output===================================== --- not-date: !!str 2002-04-28 picture: !!binary | R0lGODlhDAAMAIQAAP//9/X 17unp5WZmZgAAAOfn515eXv Pz7Y6OjuDg4J+fn5OTk6enp 56enmleECcgggoBADs= application specific tag: !something | The semantics of the tag above may be different for different documents. ================================================================================ `; exports[`spec-example-2-24-global-tags.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== %TAG ! tag:clarkevans.com,2002: --- !shape # Use the ! handle for presenting # tag:clarkevans.com,2002:circle - !circle center: &ORIGIN {x: 73, y: 129} radius: 7 - !line start: *ORIGIN finish: { x: 89, y: 102 } - !label start: *ORIGIN color: 0xFFEEBB text: Pretty vector drawing. =====================================output===================================== %TAG ! tag:clarkevans.com,2002: --- !shape # Use the ! handle for presenting # tag:clarkevans.com,2002:circle - !circle center: &ORIGIN { x: 73, y: 129 } radius: 7 - !line start: *ORIGIN finish: { x: 89, y: 102 } - !label start: *ORIGIN color: 0xFFEEBB text: Pretty vector drawing. ================================================================================ `; exports[`spec-example-2-24-global-tags.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== %TAG ! tag:clarkevans.com,2002: --- !shape # Use the ! handle for presenting # tag:clarkevans.com,2002:circle - !circle center: &ORIGIN {x: 73, y: 129} radius: 7 - !line start: *ORIGIN finish: { x: 89, y: 102 } - !label start: *ORIGIN color: 0xFFEEBB text: Pretty vector drawing. =====================================output===================================== %TAG ! tag:clarkevans.com,2002: --- !shape # Use the ! handle for presenting # tag:clarkevans.com,2002:circle - !circle center: &ORIGIN { x: 73, y: 129 } radius: 7 - !line start: *ORIGIN finish: { x: 89, y: 102 } - !label start: *ORIGIN color: 0xFFEEBB text: Pretty vector drawing. ================================================================================ `; exports[`spec-example-2-25-unordered-sets.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== # Sets are represented as a # Mapping where each key is # associated with a null value --- !!set ? Mark McGwire ? Sammy Sosa ? Ken Griff =====================================output===================================== # Sets are represented as a # Mapping where each key is # associated with a null value --- !!set ? Mark McGwire ? Sammy Sosa ? Ken Griff ================================================================================ `; exports[`spec-example-2-25-unordered-sets.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== # Sets are represented as a # Mapping where each key is # associated with a null value --- !!set ? Mark McGwire ? Sammy Sosa ? Ken Griff =====================================output===================================== # Sets are represented as a # Mapping where each key is # associated with a null value --- !!set ? Mark McGwire ? Sammy Sosa ? Ken Griff ================================================================================ `; exports[`spec-example-2-26-ordered-mappings.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== # Ordered maps are represented as # A sequence of mappings, with # each mapping having one key --- !!omap - Mark McGwire: 65 - Sammy Sosa: 63 - Ken Griffy: 58 =====================================output===================================== # Ordered maps are represented as # A sequence of mappings, with # each mapping having one key --- !!omap - Mark McGwire: 65 - Sammy Sosa: 63 - Ken Griffy: 58 ================================================================================ `; exports[`spec-example-2-26-ordered-mappings.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== # Ordered maps are represented as # A sequence of mappings, with # each mapping having one key --- !!omap - Mark McGwire: 65 - Sammy Sosa: 63 - Ken Griffy: 58 =====================================output===================================== # Ordered maps are represented as # A sequence of mappings, with # each mapping having one key --- !!omap - Mark McGwire: 65 - Sammy Sosa: 63 - Ken Griffy: 58 ================================================================================ `; exports[`spec-example-2-27-invoice.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- ! invoice: 34843 date : 2001-01-23 bill-to: &id001 given : Chris family : Dumars address: lines: | 458 Walkman Dr. Suite #292 city : Royal Oak state : MI postal : 48046 ship-to: *id001 product: - sku : BL394D quantity : 4 description : Basketball price : 450.00 - sku : BL4438H quantity : 1 description : Super Hoop price : 2392.00 tax : 251.42 total: 4443.52 comments: Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338. =====================================output===================================== --- ! invoice: 34843 date: 2001-01-23 bill-to: &id001 given: Chris family: Dumars address: lines: | 458 Walkman Dr. Suite #292 city: Royal Oak state: MI postal: 48046 ship-to: *id001 product: - sku: BL394D quantity: 4 description: Basketball price: 450.00 - sku: BL4438H quantity: 1 description: Super Hoop price: 2392.00 tax: 251.42 total: 4443.52 comments: Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338. ================================================================================ `; exports[`spec-example-2-27-invoice.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- ! invoice: 34843 date : 2001-01-23 bill-to: &id001 given : Chris family : Dumars address: lines: | 458 Walkman Dr. Suite #292 city : Royal Oak state : MI postal : 48046 ship-to: *id001 product: - sku : BL394D quantity : 4 description : Basketball price : 450.00 - sku : BL4438H quantity : 1 description : Super Hoop price : 2392.00 tax : 251.42 total: 4443.52 comments: Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338. =====================================output===================================== --- ! invoice: 34843 date: 2001-01-23 bill-to: &id001 given: Chris family: Dumars address: lines: | 458 Walkman Dr. Suite #292 city: Royal Oak state: MI postal: 48046 ship-to: *id001 product: - sku: BL394D quantity: 4 description: Basketball price: 450.00 - sku: BL4438H quantity: 1 description: Super Hoop price: 2392.00 tax: 251.42 total: 4443.52 comments: Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338. ================================================================================ `; exports[`spec-example-2-28-log-file.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- Time: 2001-11-23 15:01:42 -5 User: ed Warning: This is an error message for the log file --- Time: 2001-11-23 15:02:31 -5 User: ed Warning: A slightly different error message. --- Date: 2001-11-23 15:03:17 -5 User: ed Fatal: Unknown variable "bar" Stack: - file: TopClass.py line: 23 code: | x = MoreObject("345\\n") - file: MoreClass.py line: 58 code: |- foo = bar =====================================output===================================== --- Time: 2001-11-23 15:01:42 -5 User: ed Warning: This is an error message for the log file --- Time: 2001-11-23 15:02:31 -5 User: ed Warning: A slightly different error message. --- Date: 2001-11-23 15:03:17 -5 User: ed Fatal: Unknown variable "bar" Stack: - file: TopClass.py line: 23 code: | x = MoreObject("345\\n") - file: MoreClass.py line: 58 code: |- foo = bar ================================================================================ `; exports[`spec-example-2-28-log-file.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- Time: 2001-11-23 15:01:42 -5 User: ed Warning: This is an error message for the log file --- Time: 2001-11-23 15:02:31 -5 User: ed Warning: A slightly different error message. --- Date: 2001-11-23 15:03:17 -5 User: ed Fatal: Unknown variable "bar" Stack: - file: TopClass.py line: 23 code: | x = MoreObject("345\\n") - file: MoreClass.py line: 58 code: |- foo = bar =====================================output===================================== --- Time: 2001-11-23 15:01:42 -5 User: ed Warning: This is an error message for the log file --- Time: 2001-11-23 15:02:31 -5 User: ed Warning: A slightly different error message. --- Date: 2001-11-23 15:03:17 -5 User: ed Fatal: Unknown variable "bar" Stack: - file: TopClass.py line: 23 code: | x = MoreObject("345\\n") - file: MoreClass.py line: 58 code: |- foo = bar ================================================================================ `; exports[`spec-example-5-3-block-structure-indicators.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== sequence: - one - two mapping: ? sky : blue sea : green =====================================output===================================== sequence: - one - two mapping: sky: blue sea: green ================================================================================ `; exports[`spec-example-5-3-block-structure-indicators.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== sequence: - one - two mapping: ? sky : blue sea : green =====================================output===================================== sequence: - one - two mapping: sky: blue sea: green ================================================================================ `; exports[`spec-example-5-4-flow-collection-indicators.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== sequence: [ one, two, ] mapping: { sky: blue, sea: green } =====================================output===================================== sequence: [one, two] mapping: { sky: blue, sea: green } ================================================================================ `; exports[`spec-example-5-4-flow-collection-indicators.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== sequence: [ one, two, ] mapping: { sky: blue, sea: green } =====================================output===================================== sequence: [one, two] mapping: { sky: blue, sea: green } ================================================================================ `; exports[`spec-example-5-5-comment-indicator.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== # Comment only. =====================================output===================================== # Comment only. ================================================================================ `; exports[`spec-example-5-5-comment-indicator.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== # Comment only. =====================================output===================================== # Comment only. ================================================================================ `; exports[`spec-example-5-6-node-property-indicators.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== anchored: !local &anchor value alias: *anchor =====================================output===================================== anchored: !local &anchor value alias: *anchor ================================================================================ `; exports[`spec-example-5-6-node-property-indicators.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== anchored: !local &anchor value alias: *anchor =====================================output===================================== anchored: !local &anchor value alias: *anchor ================================================================================ `; exports[`spec-example-5-7-block-scalar-indicators.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== literal: | some text folded: > some text =====================================output===================================== literal: | some text folded: > some text ================================================================================ `; exports[`spec-example-5-7-block-scalar-indicators.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== literal: | some text folded: > some text =====================================output===================================== literal: | some text folded: > some text ================================================================================ `; exports[`spec-example-5-8-quoted-scalar-indicators.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== single: 'text' double: "text" =====================================output===================================== single: "text" double: "text" ================================================================================ `; exports[`spec-example-5-8-quoted-scalar-indicators.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== single: 'text' double: "text" =====================================output===================================== single: "text" double: "text" ================================================================================ `; exports[`spec-example-5-9-directive-indicator.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== %YAML 1.2 --- text =====================================output===================================== %YAML 1.2 --- text ================================================================================ `; exports[`spec-example-5-9-directive-indicator.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== %YAML 1.2 --- text =====================================output===================================== %YAML 1.2 --- text ================================================================================ `; exports[`spec-example-5-12-tabs-and-spaces.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== # Tabs and spaces quoted: "Quoted " block: | void main() { printf("Hello, world!\\n"); } =====================================output===================================== # Tabs and spaces quoted: "Quoted " block: | void main() { printf("Hello, world!\\n"); } ================================================================================ `; exports[`spec-example-5-12-tabs-and-spaces.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== # Tabs and spaces quoted: "Quoted " block: | void main() { printf("Hello, world!\\n"); } =====================================output===================================== # Tabs and spaces quoted: "Quoted " block: | void main() { printf("Hello, world!\\n"); } ================================================================================ `; exports[`spec-example-6-1-indentation-spaces.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== # Leading comment line spaces are # neither content nor indentation. Not indented: By one space: | By four spaces Flow style: [ # Leading spaces By two, # in flow style Also by two, # are neither Still by two # content nor ] # indentation. =====================================output===================================== # Leading comment line spaces are # neither content nor indentation. Not indented: By one space: | By four spaces Flow style: # Leading spaces [ By two, # in flow style Also by two, # are neither Still by two, # content nor ] # indentation. ================================================================================ `; exports[`spec-example-6-1-indentation-spaces.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== # Leading comment line spaces are # neither content nor indentation. Not indented: By one space: | By four spaces Flow style: [ # Leading spaces By two, # in flow style Also by two, # are neither Still by two # content nor ] # indentation. =====================================output===================================== # Leading comment line spaces are # neither content nor indentation. Not indented: By one space: | By four spaces Flow style: # Leading spaces [ By two, # in flow style Also by two, # are neither Still by two, # content nor ] # indentation. ================================================================================ `; exports[`spec-example-6-2-indentation-indicators.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== ? a : - b - - c - d =====================================output===================================== a: - b - - c - d ================================================================================ `; exports[`spec-example-6-2-indentation-indicators.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== ? a : - b - - c - d =====================================output===================================== a: - b - - c - d ================================================================================ `; exports[`spec-example-6-3-separation-spaces.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - foo: bar - - baz - baz =====================================output===================================== - foo: bar - - baz - baz ================================================================================ `; exports[`spec-example-6-3-separation-spaces.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - foo: bar - - baz - baz =====================================output===================================== - foo: bar - - baz - baz ================================================================================ `; exports[`spec-example-6-4-line-prefixes.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== plain: text lines quoted: "text lines" block: | text lines =====================================output===================================== plain: text lines quoted: "text lines" block: | text lines ================================================================================ `; exports[`spec-example-6-4-line-prefixes.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== plain: text lines quoted: "text lines" block: | text lines =====================================output===================================== plain: text lines quoted: "text lines" block: | text lines ================================================================================ `; exports[`spec-example-6-5-empty-lines.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== Folding: "Empty line as a line feed" Chomping: | Clipped empty lines =====================================output===================================== Folding: "Empty line as a line feed" Chomping: | Clipped empty lines ================================================================================ `; exports[`spec-example-6-5-empty-lines.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== Folding: "Empty line as a line feed" Chomping: | Clipped empty lines =====================================output===================================== Folding: "Empty line as a line feed" Chomping: | Clipped empty lines ================================================================================ `; exports[`spec-example-6-6-line-folding.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== >- trimmed as space =====================================output===================================== >- trimmed as space ================================================================================ `; exports[`spec-example-6-6-line-folding.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== >- trimmed as space =====================================output===================================== >- trimmed as space ================================================================================ `; exports[`spec-example-6-7-block-folding.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== > foo bar baz =====================================output===================================== > foo bar baz ================================================================================ `; exports[`spec-example-6-7-block-folding.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== > foo bar baz =====================================output===================================== > foo bar baz ================================================================================ `; exports[`spec-example-6-8-flow-folding.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== " foo bar baz " =====================================output===================================== " foo bar baz " ================================================================================ `; exports[`spec-example-6-8-flow-folding.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== " foo bar baz " =====================================output===================================== " foo bar baz " ================================================================================ `; exports[`spec-example-6-9-separated-comment.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== key: # Comment value =====================================output===================================== key: # Comment value ================================================================================ `; exports[`spec-example-6-9-separated-comment.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== key: # Comment value =====================================output===================================== key: # Comment value ================================================================================ `; exports[`spec-example-6-10-comment-lines.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== # Comment =====================================output===================================== # Comment ================================================================================ `; exports[`spec-example-6-10-comment-lines.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== # Comment =====================================output===================================== # Comment ================================================================================ `; exports[`spec-example-6-11-multi-line-comments.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== key: # Comment # lines value =====================================output===================================== key: # Comment # lines value ================================================================================ `; exports[`spec-example-6-11-multi-line-comments.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== key: # Comment # lines value =====================================output===================================== key: # Comment # lines value ================================================================================ `; exports[`spec-example-6-12-separation-spaces.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== { first: Sammy, last: Sosa }: # Statistics: hr: # Home runs 65 avg: # Average 0.278 =====================================output===================================== { first: Sammy, last: Sosa }: # Statistics: hr: # Home runs 65 avg: # Average 0.278 ================================================================================ `; exports[`spec-example-6-12-separation-spaces.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== { first: Sammy, last: Sosa }: # Statistics: hr: # Home runs 65 avg: # Average 0.278 =====================================output===================================== { first: Sammy, last: Sosa }: # Statistics: hr: # Home runs 65 avg: # Average 0.278 ================================================================================ `; exports[`spec-example-6-13-reserved-directives.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== %FOO bar baz # Should be ignored # with a warning. --- "foo" =====================================output===================================== %FOO bar baz # Should be ignored # with a warning. --- "foo" ================================================================================ `; exports[`spec-example-6-13-reserved-directives.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== %FOO bar baz # Should be ignored # with a warning. --- "foo" =====================================output===================================== %FOO bar baz # Should be ignored # with a warning. --- "foo" ================================================================================ `; exports[`spec-example-6-14-yaml-directive.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== %YAML 1.3 # Attempt parsing # with a warning --- "foo" =====================================output===================================== %YAML 1.3 # Attempt parsing # with a warning --- "foo" ================================================================================ `; exports[`spec-example-6-14-yaml-directive.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== %YAML 1.3 # Attempt parsing # with a warning --- "foo" =====================================output===================================== %YAML 1.3 # Attempt parsing # with a warning --- "foo" ================================================================================ `; exports[`spec-example-6-16-tag-directive.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== %TAG !yaml! tag:yaml.org,2002: --- !yaml!str "foo" =====================================output===================================== %TAG !yaml! tag:yaml.org,2002: --- !yaml!str "foo" ================================================================================ `; exports[`spec-example-6-16-tag-directive.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== %TAG !yaml! tag:yaml.org,2002: --- !yaml!str "foo" =====================================output===================================== %TAG !yaml! tag:yaml.org,2002: --- !yaml!str "foo" ================================================================================ `; exports[`spec-example-6-18-primary-tag-handle.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== # Private !foo "bar" ... # Global %TAG ! tag:example.com,2000:app/ --- !foo "bar" =====================================output===================================== # Private !foo "bar" ... # Global %TAG ! tag:example.com,2000:app/ --- !foo "bar" ================================================================================ `; exports[`spec-example-6-18-primary-tag-handle.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== # Private !foo "bar" ... # Global %TAG ! tag:example.com,2000:app/ --- !foo "bar" =====================================output===================================== # Private !foo "bar" ... # Global %TAG ! tag:example.com,2000:app/ --- !foo "bar" ================================================================================ `; exports[`spec-example-6-19-secondary-tag-handle.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== %TAG !! tag:example.com,2000:app/ --- !!int 1 - 3 # Interval, not integer =====================================output===================================== %TAG !! tag:example.com,2000:app/ --- !!int 1 - 3 # Interval, not integer ================================================================================ `; exports[`spec-example-6-19-secondary-tag-handle.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== %TAG !! tag:example.com,2000:app/ --- !!int 1 - 3 # Interval, not integer =====================================output===================================== %TAG !! tag:example.com,2000:app/ --- !!int 1 - 3 # Interval, not integer ================================================================================ `; exports[`spec-example-6-20-tag-handles.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== %TAG !e! tag:example.com,2000:app/ --- !e!foo "bar" =====================================output===================================== %TAG !e! tag:example.com,2000:app/ --- !e!foo "bar" ================================================================================ `; exports[`spec-example-6-20-tag-handles.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== %TAG !e! tag:example.com,2000:app/ --- !e!foo "bar" =====================================output===================================== %TAG !e! tag:example.com,2000:app/ --- !e!foo "bar" ================================================================================ `; exports[`spec-example-6-21-local-tag-prefix.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== %TAG !m! !my- --- # Bulb here !m!light fluorescent ... %TAG !m! !my- --- # Color here !m!light green =====================================output===================================== %TAG !m! !my- --- # Bulb here !m!light fluorescent ... %TAG !m! !my- --- # Color here !m!light green ================================================================================ `; exports[`spec-example-6-21-local-tag-prefix.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== %TAG !m! !my- --- # Bulb here !m!light fluorescent ... %TAG !m! !my- --- # Color here !m!light green =====================================output===================================== %TAG !m! !my- --- # Bulb here !m!light fluorescent ... %TAG !m! !my- --- # Color here !m!light green ================================================================================ `; exports[`spec-example-6-22-global-tag-prefix.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== %TAG !e! tag:example.com,2000:app/ --- - !e!foo "bar" =====================================output===================================== %TAG !e! tag:example.com,2000:app/ --- - !e!foo "bar" ================================================================================ `; exports[`spec-example-6-22-global-tag-prefix.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== %TAG !e! tag:example.com,2000:app/ --- - !e!foo "bar" =====================================output===================================== %TAG !e! tag:example.com,2000:app/ --- - !e!foo "bar" ================================================================================ `; exports[`spec-example-6-23-node-properties.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== !!str &a1 "foo": !!str bar &a2 baz : *a1 =====================================output===================================== !!str &a1 "foo": !!str bar &a2 baz: *a1 ================================================================================ `; exports[`spec-example-6-23-node-properties.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== !!str &a1 "foo": !!str bar &a2 baz : *a1 =====================================output===================================== !!str &a1 "foo": !!str bar &a2 baz: *a1 ================================================================================ `; exports[`spec-example-6-24-verbatim-tags.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== ! foo : ! baz =====================================output===================================== ! foo: ! baz ================================================================================ `; exports[`spec-example-6-24-verbatim-tags.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== ! foo : ! baz =====================================output===================================== ! foo: ! baz ================================================================================ `; exports[`spec-example-6-26-tag-shorthands.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== %TAG !e! tag:example.com,2000:app/ --- - !local foo - !!str bar - !e!tag%21 baz =====================================output===================================== %TAG !e! tag:example.com,2000:app/ --- - !local foo - !!str bar - !e!tag%21 baz ================================================================================ `; exports[`spec-example-6-26-tag-shorthands.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== %TAG !e! tag:example.com,2000:app/ --- - !local foo - !!str bar - !e!tag%21 baz =====================================output===================================== %TAG !e! tag:example.com,2000:app/ --- - !local foo - !!str bar - !e!tag%21 baz ================================================================================ `; exports[`spec-example-6-28-non-specific-tags.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== # Assuming conventional resolution: - "12" - 12 - ! 12 =====================================output===================================== # Assuming conventional resolution: - "12" - 12 - ! 12 ================================================================================ `; exports[`spec-example-6-28-non-specific-tags.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== # Assuming conventional resolution: - "12" - 12 - ! 12 =====================================output===================================== # Assuming conventional resolution: - "12" - 12 - ! 12 ================================================================================ `; exports[`spec-example-6-29-node-anchors.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== First occurrence: &anchor Value Second occurrence: *anchor =====================================output===================================== First occurrence: &anchor Value Second occurrence: *anchor ================================================================================ `; exports[`spec-example-6-29-node-anchors.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== First occurrence: &anchor Value Second occurrence: *anchor =====================================output===================================== First occurrence: &anchor Value Second occurrence: *anchor ================================================================================ `; exports[`spec-example-7-1-alias-nodes.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== First occurrence: &anchor Foo Second occurrence: *anchor Override anchor: &anchor Bar Reuse anchor: *anchor =====================================output===================================== First occurrence: &anchor Foo Second occurrence: *anchor Override anchor: &anchor Bar Reuse anchor: *anchor ================================================================================ `; exports[`spec-example-7-1-alias-nodes.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== First occurrence: &anchor Foo Second occurrence: *anchor Override anchor: &anchor Bar Reuse anchor: *anchor =====================================output===================================== First occurrence: &anchor Foo Second occurrence: *anchor Override anchor: &anchor Bar Reuse anchor: *anchor ================================================================================ `; exports[`spec-example-7-2-empty-content.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== { foo : !!str, !!str : bar, } =====================================output===================================== { foo: !!str , !!str : bar } ================================================================================ `; exports[`spec-example-7-2-empty-content.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== { foo : !!str, !!str : bar, } =====================================output===================================== { foo: !!str , !!str : bar } ================================================================================ `; exports[`spec-example-7-3-completely-empty-flow-nodes.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== { ? foo :, : bar, } =====================================output===================================== { foo, : bar } ================================================================================ `; exports[`spec-example-7-3-completely-empty-flow-nodes.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== { ? foo :, : bar, } =====================================output===================================== { foo, : bar } ================================================================================ `; exports[`spec-example-7-4-double-quoted-implicit-keys.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== "implicit block key" : [ "implicit flow key" : value, ] =====================================output===================================== "implicit block key": ["implicit flow key": value] ================================================================================ `; exports[`spec-example-7-4-double-quoted-implicit-keys.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== "implicit block key" : [ "implicit flow key" : value, ] =====================================output===================================== "implicit block key": ["implicit flow key": value] ================================================================================ `; exports[`spec-example-7-5-double-quoted-line-breaks.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== "folded to a space, to a line feed, or \\ \\ non-content" =====================================output===================================== "folded to a space, to a line feed, or \\ \\ non-content" ================================================================================ `; exports[`spec-example-7-5-double-quoted-line-breaks.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== "folded to a space, to a line feed, or \\ \\ non-content" =====================================output===================================== "folded to a space, to a line feed, or \\ \\ non-content" ================================================================================ `; exports[`spec-example-7-6-double-quoted-lines.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== " 1st non-empty 2nd non-empty 3rd non-empty " =====================================output===================================== " 1st non-empty 2nd non-empty 3rd non-empty " ================================================================================ `; exports[`spec-example-7-6-double-quoted-lines.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== " 1st non-empty 2nd non-empty 3rd non-empty " =====================================output===================================== " 1st non-empty 2nd non-empty 3rd non-empty " ================================================================================ `; exports[`spec-example-7-7-single-quoted-characters.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== 'here''s to "quotes"' =====================================output===================================== 'here''s to "quotes"' ================================================================================ `; exports[`spec-example-7-7-single-quoted-characters.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== 'here''s to "quotes"' =====================================output===================================== 'here''s to "quotes"' ================================================================================ `; exports[`spec-example-7-8-single-quoted-implicit-keys.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== 'implicit block key' : [ 'implicit flow key' : value, ] =====================================output===================================== "implicit block key": ["implicit flow key": value] ================================================================================ `; exports[`spec-example-7-8-single-quoted-implicit-keys.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== 'implicit block key' : [ 'implicit flow key' : value, ] =====================================output===================================== "implicit block key": ["implicit flow key": value] ================================================================================ `; exports[`spec-example-7-9-single-quoted-lines.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== ' 1st non-empty 2nd non-empty 3rd non-empty ' =====================================output===================================== " 1st non-empty 2nd non-empty 3rd non-empty " ================================================================================ `; exports[`spec-example-7-9-single-quoted-lines.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== ' 1st non-empty 2nd non-empty 3rd non-empty ' =====================================output===================================== " 1st non-empty 2nd non-empty 3rd non-empty " ================================================================================ `; exports[`spec-example-7-10-plain-characters.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== # Outside flow collection: - ::vector - ": - ()" - Up, up, and away! - -123 - http://example.com/foo#bar # Inside flow collection: - [ ::vector, ": - ()", "Up, up and away!", -123, http://example.com/foo#bar ] =====================================output===================================== # Outside flow collection: - ::vector - ": - ()" - Up, up, and away! - -123 - http://example.com/foo#bar # Inside flow collection: - [::vector, ": - ()", "Up, up and away!", -123, http://example.com/foo#bar] ================================================================================ `; exports[`spec-example-7-10-plain-characters.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== # Outside flow collection: - ::vector - ": - ()" - Up, up, and away! - -123 - http://example.com/foo#bar # Inside flow collection: - [ ::vector, ": - ()", "Up, up and away!", -123, http://example.com/foo#bar ] =====================================output===================================== # Outside flow collection: - ::vector - ": - ()" - Up, up, and away! - -123 - http://example.com/foo#bar # Inside flow collection: - [::vector, ": - ()", "Up, up and away!", -123, http://example.com/foo#bar] ================================================================================ `; exports[`spec-example-7-11-plain-implicit-keys.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== implicit block key : [ implicit flow key : value, ] =====================================output===================================== implicit block key: [implicit flow key: value] ================================================================================ `; exports[`spec-example-7-11-plain-implicit-keys.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== implicit block key : [ implicit flow key : value, ] =====================================output===================================== implicit block key: [implicit flow key: value] ================================================================================ `; exports[`spec-example-7-12-plain-lines.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== 1st non-empty 2nd non-empty 3rd non-empty =====================================output===================================== 1st non-empty 2nd non-empty 3rd non-empty ================================================================================ `; exports[`spec-example-7-12-plain-lines.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== 1st non-empty 2nd non-empty 3rd non-empty =====================================output===================================== 1st non-empty 2nd non-empty 3rd non-empty ================================================================================ `; exports[`spec-example-7-13-flow-sequence.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - [ one, two, ] - [three ,four] =====================================output===================================== - [one, two] - [three, four] ================================================================================ `; exports[`spec-example-7-13-flow-sequence.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - [ one, two, ] - [three ,four] =====================================output===================================== - [one, two] - [three, four] ================================================================================ `; exports[`spec-example-7-14-flow-sequence-entries.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== [ "double quoted", 'single quoted', plain text, [ nested ], single: pair, ] =====================================output===================================== [ "double quoted", "single quoted", plain text, [nested], single: pair, ] ================================================================================ `; exports[`spec-example-7-14-flow-sequence-entries.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== [ "double quoted", 'single quoted', plain text, [ nested ], single: pair, ] =====================================output===================================== ["double quoted", "single quoted", plain text, [nested], single: pair] ================================================================================ `; exports[`spec-example-7-15-flow-mappings.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - { one : two , three: four , } - {five: six,seven : eight} =====================================output===================================== - { one: two, three: four } - { five: six, seven: eight } ================================================================================ `; exports[`spec-example-7-15-flow-mappings.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - { one : two , three: four , } - {five: six,seven : eight} =====================================output===================================== - { one: two, three: four } - { five: six, seven: eight } ================================================================================ `; exports[`spec-example-7-16-flow-mapping-entries.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== { ? explicit: entry, implicit: entry, ? } =====================================output===================================== { explicit: entry, implicit: entry, : } ================================================================================ `; exports[`spec-example-7-16-flow-mapping-entries.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== { ? explicit: entry, implicit: entry, ? } =====================================output===================================== { explicit: entry, implicit: entry, : } ================================================================================ `; exports[`spec-example-7-17-flow-mapping-separate-values.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== { unquoted : "separate", http://foo.com, omitted value:, : omitted key, } =====================================output===================================== { unquoted: "separate", http://foo.com, omitted value, : omitted key } ================================================================================ `; exports[`spec-example-7-17-flow-mapping-separate-values.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== { unquoted : "separate", http://foo.com, omitted value:, : omitted key, } =====================================output===================================== { unquoted: "separate", http://foo.com, omitted value, : omitted key } ================================================================================ `; exports[`spec-example-7-18-flow-mapping-adjacent-values.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== { "adjacent":value, "readable": value, "empty": } =====================================output===================================== { "adjacent": value, "readable": value, "empty" } ================================================================================ `; exports[`spec-example-7-18-flow-mapping-adjacent-values.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== { "adjacent":value, "readable": value, "empty": } =====================================output===================================== { "adjacent": value, "readable": value, "empty" } ================================================================================ `; exports[`spec-example-7-19-single-pair-flow-mappings.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== [ foo: bar ] =====================================output===================================== [foo: bar] ================================================================================ `; exports[`spec-example-7-19-single-pair-flow-mappings.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== [ foo: bar ] =====================================output===================================== [foo: bar] ================================================================================ `; exports[`spec-example-7-20-single-pair-explicit-entry.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== [ ? foo bar : baz ] =====================================output===================================== [? foo bar : baz] ================================================================================ `; exports[`spec-example-7-20-single-pair-explicit-entry.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== [ ? foo bar : baz ] =====================================output===================================== [foo bar: baz] ================================================================================ `; exports[`spec-example-7-21-single-pair-implicit-entries.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - [ YAML : separate ] - [ : empty key entry ] - [ {JSON: like}:adjacent ] =====================================output===================================== - [YAML: separate] - [: empty key entry] - [{ JSON: like }: adjacent] ================================================================================ `; exports[`spec-example-7-21-single-pair-implicit-entries.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - [ YAML : separate ] - [ : empty key entry ] - [ {JSON: like}:adjacent ] =====================================output===================================== - [YAML: separate] - [: empty key entry] - [{ JSON: like }: adjacent] ================================================================================ `; exports[`spec-example-7-23-flow-content.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - [ a, b ] - { a: b } - "a" - 'b' - c =====================================output===================================== - [a, b] - { a: b } - "a" - "b" - c ================================================================================ `; exports[`spec-example-7-23-flow-content.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - [ a, b ] - { a: b } - "a" - 'b' - c =====================================output===================================== - [a, b] - { a: b } - "a" - "b" - c ================================================================================ `; exports[`spec-example-7-24-flow-nodes.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - !!str "a" - 'b' - &anchor "c" - *anchor - !!str =====================================output===================================== - !!str "a" - "b" - &anchor "c" - *anchor - !!str ================================================================================ `; exports[`spec-example-7-24-flow-nodes.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - !!str "a" - 'b' - &anchor "c" - *anchor - !!str =====================================output===================================== - !!str "a" - "b" - &anchor "c" - *anchor - !!str ================================================================================ `; exports[`spec-example-8-1-block-scalar-header.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - | # Empty headerā†“ literal - >1 # Indentation indicatorā†“ folded - |+ # Chomping indicatorā†“ keep - >1- # Both indicatorsā†“ strip =====================================output===================================== - | # Empty headerā†“ literal - >1 # Indentation indicatorā†“ folded - |+ # Chomping indicatorā†“ keep - >1- # Both indicatorsā†“ strip ================================================================================ `; exports[`spec-example-8-1-block-scalar-header.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - | # Empty headerā†“ literal - >1 # Indentation indicatorā†“ folded - |+ # Chomping indicatorā†“ keep - >1- # Both indicatorsā†“ strip =====================================output===================================== - | # Empty headerā†“ literal - >1 # Indentation indicatorā†“ folded - |+ # Chomping indicatorā†“ keep - >1- # Both indicatorsā†“ strip ================================================================================ `; exports[`spec-example-8-2-block-indentation-indicator.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - | detected - > # detected - |1 explicit - > detected =====================================output===================================== - | detected - > # detected - |1 explicit - > detected ================================================================================ `; exports[`spec-example-8-2-block-indentation-indicator.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - | detected - > # detected - |1 explicit - > detected =====================================output===================================== - | detected - > # detected - |1 explicit - > detected ================================================================================ `; exports[`spec-example-8-4-chomping-final-line-break.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== strip: |- text clip: | text keep: |+ text =====================================output===================================== strip: |- text clip: | text keep: |+ text ================================================================================ `; exports[`spec-example-8-4-chomping-final-line-break.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== strip: |- text clip: | text keep: |+ text =====================================output===================================== strip: |- text clip: | text keep: |+ text ================================================================================ `; exports[`spec-example-8-5-chomping-trailing-lines.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== # Strip # Comments: strip: |- # text # Clip # comments: clip: | # text # Keep # comments: keep: |+ # text # Trail # comments. =====================================output===================================== # Strip # Comments: strip: |- # text # Clip # comments: clip: | # text # Keep # comments: keep: |+ # text # Trail # comments. ================================================================================ `; exports[`spec-example-8-5-chomping-trailing-lines.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== # Strip # Comments: strip: |- # text # Clip # comments: clip: | # text # Keep # comments: keep: |+ # text # Trail # comments. =====================================output===================================== # Strip # Comments: strip: |- # text # Clip # comments: clip: | # text # Keep # comments: keep: |+ # text # Trail # comments. ================================================================================ `; exports[`spec-example-8-6-empty-scalar-chomping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== strip: >- clip: > keep: |+ =====================================output===================================== strip: >- clip: > keep: |+ ================================================================================ `; exports[`spec-example-8-6-empty-scalar-chomping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== strip: >- clip: > keep: |+ =====================================output===================================== strip: >- clip: > keep: |+ ================================================================================ `; exports[`spec-example-8-7-literal-scalar.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== | literal text =====================================output===================================== | literal text ================================================================================ `; exports[`spec-example-8-7-literal-scalar.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== | literal text =====================================output===================================== | literal text ================================================================================ `; exports[`spec-example-8-8-literal-content.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== | literal text # Comment =====================================output===================================== | literal text # Comment ================================================================================ `; exports[`spec-example-8-8-literal-content.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== | literal text # Comment =====================================output===================================== | literal text # Comment ================================================================================ `; exports[`spec-example-8-9-folded-scalar.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== > folded text =====================================output===================================== > folded text ================================================================================ `; exports[`spec-example-8-9-folded-scalar.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== > folded text =====================================output===================================== > folded text ================================================================================ `; exports[`spec-example-8-10-folded-lines-8-13-final-empty-lines.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== > folded line next line * bullet * list * lines last line # Comment =====================================output===================================== > folded line next line * bullet * list * lines last line # Comment ================================================================================ `; exports[`spec-example-8-10-folded-lines-8-13-final-empty-lines.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== > folded line next line * bullet * list * lines last line # Comment =====================================output===================================== > folded line next line * bullet * list * lines last line # Comment ================================================================================ `; exports[`spec-example-8-14-block-sequence.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== block sequence: - one - two : three =====================================output===================================== block sequence: - one - two: three ================================================================================ `; exports[`spec-example-8-14-block-sequence.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== block sequence: - one - two : three =====================================output===================================== block sequence: - one - two: three ================================================================================ `; exports[`spec-example-8-15-block-sequence-entry-types.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - # Empty - | block node - - one # Compact - two # sequence - one: two # Compact mapping =====================================output===================================== - # Empty - | block node - - one # Compact - two # sequence - one: two # Compact mapping ================================================================================ `; exports[`spec-example-8-15-block-sequence-entry-types.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - # Empty - | block node - - one # Compact - two # sequence - one: two # Compact mapping =====================================output===================================== - # Empty - | block node - - one # Compact - two # sequence - one: two # Compact mapping ================================================================================ `; exports[`spec-example-8-16-block-mappings.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== block mapping: key: value =====================================output===================================== block mapping: key: value ================================================================================ `; exports[`spec-example-8-16-block-mappings.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== block mapping: key: value =====================================output===================================== block mapping: key: value ================================================================================ `; exports[`spec-example-8-17-explicit-block-mapping-entries.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== ? explicit key # Empty value ? | block key : - one # Explicit compact - two # block value =====================================output===================================== ? explicit key # Empty value ? | block key : - one # Explicit compact - two # block value ================================================================================ `; exports[`spec-example-8-17-explicit-block-mapping-entries.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== ? explicit key # Empty value ? | block key : - one # Explicit compact - two # block value =====================================output===================================== ? explicit key # Empty value ? | block key : - one # Explicit compact - two # block value ================================================================================ `; exports[`spec-example-8-18-implicit-block-mapping-entries.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== plain key: in-line value : # Both empty "quoted key": - entry =====================================output===================================== plain key: in-line value : # Both empty "quoted key": - entry ================================================================================ `; exports[`spec-example-8-18-implicit-block-mapping-entries.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== plain key: in-line value : # Both empty "quoted key": - entry =====================================output===================================== plain key: in-line value : # Both empty "quoted key": - entry ================================================================================ `; exports[`spec-example-8-19-compact-block-mappings.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - sun: yellow - ? earth: blue : moon: white =====================================output===================================== - sun: yellow - ? earth: blue : moon: white ================================================================================ `; exports[`spec-example-8-19-compact-block-mappings.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - sun: yellow - ? earth: blue : moon: white =====================================output===================================== - sun: yellow - ? earth: blue : moon: white ================================================================================ `; exports[`spec-example-8-20-block-node-types.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - "flow in block" - > Block scalar - !!map # Block collection foo : bar =====================================output===================================== - "flow in block" - > Block scalar - !!map # Block collection foo: bar ================================================================================ `; exports[`spec-example-8-20-block-node-types.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - "flow in block" - > Block scalar - !!map # Block collection foo : bar =====================================output===================================== - "flow in block" - > Block scalar - !!map # Block collection foo: bar ================================================================================ `; exports[`spec-example-8-21-block-scalar-nodes.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== literal: |2 value folded: !foo >1 value =====================================output===================================== literal: |2 value folded: !foo >1 value ================================================================================ `; exports[`spec-example-8-21-block-scalar-nodes.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== literal: |2 value folded: !foo >1 value =====================================output===================================== literal: |2 value folded: !foo >1 value ================================================================================ `; exports[`spec-example-8-22-block-collection-nodes.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== sequence: !!seq - entry - !!seq - nested mapping: !!map foo: bar =====================================output===================================== sequence: !!seq - entry - !!seq - nested mapping: !!map foo: bar ================================================================================ `; exports[`spec-example-8-22-block-collection-nodes.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== sequence: !!seq - entry - !!seq - nested mapping: !!map foo: bar =====================================output===================================== sequence: !!seq - entry - !!seq - nested mapping: !!map foo: bar ================================================================================ `; exports[`spec-example-9-2-document-markers.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== %YAML 1.2 --- Document ... # Suffix =====================================output===================================== %YAML 1.2 --- Document ... # Suffix ================================================================================ `; exports[`spec-example-9-2-document-markers.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== %YAML 1.2 --- Document ... # Suffix =====================================output===================================== %YAML 1.2 --- Document ... # Suffix ================================================================================ `; exports[`spec-example-9-3-bare-documents.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== Bare document ... # No document ... | %!PS-Adobe-2.0 # Not the first line =====================================output===================================== Bare document --- # No document --- | %!PS-Adobe-2.0 # Not the first line ================================================================================ `; exports[`spec-example-9-3-bare-documents.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== Bare document ... # No document ... | %!PS-Adobe-2.0 # Not the first line =====================================output===================================== Bare document --- # No document --- | %!PS-Adobe-2.0 # Not the first line ================================================================================ `; exports[`spec-example-9-4-explicit-documents.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- { matches % : 20 } ... --- # Empty ... =====================================output===================================== --- { ? matches % : 20 } --- # Empty ================================================================================ `; exports[`spec-example-9-4-explicit-documents.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- { matches % : 20 } ... --- # Empty ... =====================================output===================================== --- { matches %: 20 } --- # Empty ================================================================================ `; exports[`spec-example-9-5-directives-documents.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== %YAML 1.2 --- | %!PS-Adobe-2.0 ... %YAML1.2 --- # Empty ... =====================================output===================================== %YAML 1.2 --- | %!PS-Adobe-2.0 ... %YAML1.2 --- # Empty ================================================================================ `; exports[`spec-example-9-5-directives-documents.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== %YAML 1.2 --- | %!PS-Adobe-2.0 ... %YAML1.2 --- # Empty ... =====================================output===================================== %YAML 1.2 --- | %!PS-Adobe-2.0 ... %YAML1.2 --- # Empty ================================================================================ `; exports[`spec-example-9-6-stream.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== Document --- # Empty ... %YAML 1.2 --- matches %: 20 =====================================output===================================== Document --- # Empty ... %YAML 1.2 --- matches %: 20 ================================================================================ `; exports[`spec-example-9-6-stream.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== Document --- # Empty ... %YAML 1.2 --- matches %: 20 =====================================output===================================== Document --- # Empty ... %YAML 1.2 --- matches %: 20 ================================================================================ `; exports[`tab-after-document-header.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- scalar =====================================output===================================== --- scalar ================================================================================ `; exports[`tab-after-document-header.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- scalar =====================================output===================================== --- scalar ================================================================================ `; exports[`tab-at-beginning-of-line-followed-by-a-flow-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== {} =====================================output===================================== {} ================================================================================ `; exports[`tab-at-beginning-of-line-followed-by-a-flow-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== {} =====================================output===================================== {} ================================================================================ `; exports[`tags-for-block-objects.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== foo: !!seq - !!str a - !!map key: !!str value =====================================output===================================== foo: !!seq - !!str a - !!map key: !!str value ================================================================================ `; exports[`tags-for-block-objects.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== foo: !!seq - !!str a - !!map key: !!str value =====================================output===================================== foo: !!seq - !!str a - !!map key: !!str value ================================================================================ `; exports[`tags-for-flow-objects.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== !!map { k: !!seq [ a, !!str b] } =====================================output===================================== !!map { k: !!seq [a, !!str b] } ================================================================================ `; exports[`tags-for-flow-objects.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== !!map { k: !!seq [ a, !!str b] } =====================================output===================================== !!map { k: !!seq [a, !!str b] } ================================================================================ `; exports[`tags-for-root-objects.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- !!map ? a : b --- !!seq - !!str c --- !!str d e =====================================output===================================== --- !!map a: b --- !!seq - !!str c --- !!str d e ================================================================================ `; exports[`tags-for-root-objects.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- !!map ? a : b --- !!seq - !!str c --- !!str d e =====================================output===================================== --- !!map a: b --- !!seq - !!str c --- !!str d e ================================================================================ `; exports[`tags-in-block-sequence.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - !!str a - b - !!int 42 - d =====================================output===================================== - !!str a - b - !!int 42 - d ================================================================================ `; exports[`tags-in-block-sequence.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - !!str a - b - !!int 42 - d =====================================output===================================== - !!str a - b - !!int 42 - d ================================================================================ `; exports[`tags-in-explicit-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== ? !!str a : !!int 47 ? c : !!str d =====================================output===================================== !!str a: !!int 47 c: !!str d ================================================================================ `; exports[`tags-in-explicit-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== ? !!str a : !!int 47 ? c : !!str d =====================================output===================================== !!str a: !!int 47 c: !!str d ================================================================================ `; exports[`tags-in-implicit-mapping.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== !!str a: b c: !!int 42 e: !!str f g: h !!int 23: !!bool false =====================================output===================================== !!str a: b c: !!int 42 e: !!str f g: h !!int 23: !!bool false ================================================================================ `; exports[`tags-in-implicit-mapping.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== !!str a: b c: !!int 42 e: !!str f g: h !!int 23: !!bool false =====================================output===================================== !!str a: b c: !!int 42 e: !!str f g: h !!int 23: !!bool false ================================================================================ `; exports[`tags-on-empty-scalars.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - !!str - !!null : a b: !!str - !!str : !!null =====================================output===================================== - !!str - !!null : a b: !!str - !!str : !!null ================================================================================ `; exports[`tags-on-empty-scalars.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - !!str - !!null : a b: !!str - !!str : !!null =====================================output===================================== - !!str - !!null : a b: !!str - !!str : !!null ================================================================================ `; exports[`three-dashes-and-content-without-space.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== ---word1 word2 =====================================output===================================== ---word1 word2 ================================================================================ `; exports[`three-dashes-and-content-without-space.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== ---word1 word2 =====================================output===================================== ---word1 word2 ================================================================================ `; exports[`various-combinations-of-tags-and-anchors.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- &a1 !!str scalar1 --- !!str &a2 scalar2 --- &a3 !!str scalar3 --- &a4 !!map &a5 !!str key5: value4 --- a6: 1 &anchor6 b6: 2 --- !!map &a8 !!str key8: value7 --- !!map !!str &a10 key10: value9 --- !!str &a11 value11 =====================================output===================================== --- !!str &a1 scalar1 --- !!str &a2 scalar2 --- !!str &a3 scalar3 --- !!map &a4 !!str &a5 key5: value4 --- a6: 1 &anchor6 b6: 2 --- !!map !!str &a8 key8: value7 --- !!map !!str &a10 key10: value9 --- !!str &a11 value11 ================================================================================ `; exports[`various-combinations-of-tags-and-anchors.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- &a1 !!str scalar1 --- !!str &a2 scalar2 --- &a3 !!str scalar3 --- &a4 !!map &a5 !!str key5: value4 --- a6: 1 &anchor6 b6: 2 --- !!map &a8 !!str key8: value7 --- !!map !!str &a10 key10: value9 --- !!str &a11 value11 =====================================output===================================== --- !!str &a1 scalar1 --- !!str &a2 scalar2 --- !!str &a3 scalar3 --- !!map &a4 !!str &a5 key5: value4 --- a6: 1 &anchor6 b6: 2 --- !!map !!str &a8 key8: value7 --- !!map !!str &a10 key10: value9 --- !!str &a11 value11 ================================================================================ `; exports[`various-location-of-anchors-in-flow-sequence.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== &flowseq [ a: b, &c c: d, { &e e: f }, &g { g: h } ] =====================================output===================================== &flowseq [a: b, &c c: d, { &e e: f }, &g { g: h }] ================================================================================ `; exports[`various-location-of-anchors-in-flow-sequence.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== &flowseq [ a: b, &c c: d, { &e e: f }, &g { g: h } ] =====================================output===================================== &flowseq [a: b, &c c: d, { &e e: f }, &g { g: h }] ================================================================================ `; exports[`various-trailing-comments.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== a: "double quotes" # lala b: plain value # lala c : #lala d ? # lala - seq1 : # lala - #lala seq2 e: &node # lala - x: y block: > # lala abcde =====================================output===================================== a: "double quotes" # lala b: plain value # lala c: #lala d ? # lala - seq1 : # lala - #lala seq2 e: &node # lala - x: y block: > # lala abcde ================================================================================ `; exports[`various-trailing-comments.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== a: "double quotes" # lala b: plain value # lala c : #lala d ? # lala - seq1 : # lala - #lala seq2 e: &node # lala - x: y block: > # lala abcde =====================================output===================================== a: "double quotes" # lala b: plain value # lala c: #lala d ? # lala - seq1 : # lala - #lala seq2 e: &node # lala - x: y block: > # lala abcde ================================================================================ `; exports[`various-trailing-tabs.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== a: b seq: - a c: d #X =====================================output===================================== a: b seq: - a c: d #X ================================================================================ `; exports[`various-trailing-tabs.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== a: b seq: - a c: d #X =====================================output===================================== a: b seq: - a c: d #X ================================================================================ `; exports[`whitespace-after-scalars-in-flow.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== - [a, b , c ] - { "a" : b , c : 'd' , e : "f" } - [ ] =====================================output===================================== - [a, b, c] - { "a": b, c: "d", e: "f" } - [] ================================================================================ `; exports[`whitespace-after-scalars-in-flow.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== - [a, b , c ] - { "a" : b , c : 'd' , e : "f" } - [ ] =====================================output===================================== - [a, b, c] - { "a": b, c: "d", e: "f" } - [] ================================================================================ `; exports[`whitespace-around-colon-in-mappings.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== "top1" : "key1" : &alias1 scalar1 'top2' : 'key2' : &alias2 scalar2 top3: &node3 *alias1 : scalar3 top4: *alias2 : scalar4 top5 : scalar5 top6: &anchor6 'key6' : scalar6 =====================================output===================================== "top1": "key1": &alias1 scalar1 "top2": "key2": &alias2 scalar2 top3: &node3 *alias1 : scalar3 top4: *alias2 : scalar4 top5: scalar5 top6: &anchor6 "key6": scalar6 ================================================================================ `; exports[`whitespace-around-colon-in-mappings.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== "top1" : "key1" : &alias1 scalar1 'top2' : 'key2' : &alias2 scalar2 top3: &node3 *alias1 : scalar3 top4: *alias2 : scalar4 top5 : scalar5 top6: &anchor6 'key6' : scalar6 =====================================output===================================== "top1": "key1": &alias1 scalar1 "top2": "key2": &alias2 scalar2 top3: &node3 *alias1 : scalar3 top4: *alias2 : scalar4 top5: scalar5 top6: &anchor6 "key6": scalar6 ================================================================================ `; exports[`zero-indented-block-scalar.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- > line1 line2 line3 =====================================output===================================== --- > line1 line2 line3 ================================================================================ `; exports[`zero-indented-block-scalar.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- > line1 line2 line3 =====================================output===================================== --- > line1 line2 line3 ================================================================================ `; exports[`zero-indented-block-scalar-with-line-that-looks-like-a-comment.yml 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 useTabs: true | printWidth =====================================input====================================== --- > line1 # no comment line3 =====================================output===================================== --- > line1 # no comment line3 ================================================================================ `; exports[`zero-indented-block-scalar-with-line-that-looks-like-a-comment.yml 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 proseWrap: "always" | printWidth =====================================input====================================== --- > line1 # no comment line3 =====================================output===================================== --- > line1 # no comment line3 ================================================================================ `;