diff options
Diffstat (limited to 'test/syntax/code/yaml')
-rw-r--r-- | test/syntax/code/yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/test/syntax/code/yaml b/test/syntax/code/yaml new file mode 100644 index 00000000..49c4939e --- /dev/null +++ b/test/syntax/code/yaml @@ -0,0 +1,39 @@ +--- +# comment +string_1: "Bar" +string_2: 'bar' +string_3: bar +inline_keys_ignored: sompath/name/file.jpg +keywords_in_yaml: + - true + - false + - TRUE + - FALSE + - 21 + - 21.0 + - !!str 123 +"quoted_key": &foobar + bar: foo + foo: + "foo": bar + +reference: *foobar + +multiline_1: | + Multiline + String +multiline_2: > + Multiline + String +multiline_3: " + Multiline string + " + +ansible_variables: "foo {{variable}}" + +array_nested: +- a +- b: 1 + c: 2 +- b +- comment |