From 3fa782f5b5e3bd4445a5db63c0fce5aaac2d4ac3 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Mon, 20 Jul 2020 22:55:40 -0500 Subject: Add work in progress tests --- tests/templates/yaml/default.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/templates/yaml/default.yaml (limited to 'tests/templates/yaml') diff --git a/tests/templates/yaml/default.yaml b/tests/templates/yaml/default.yaml new file mode 100644 index 0000000..095ada8 --- /dev/null +++ b/tests/templates/yaml/default.yaml @@ -0,0 +1,6 @@ +header_one: + number_key: 0 + +header_two: + str_key: "string" + list_key: [1, 2, 3] \ No newline at end of file -- cgit v1.2.3 From df90fd036d004c79f340e4c1d01b2171add80047 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Wed, 29 Jul 2020 21:27:18 -0500 Subject: Fix tests for recent changes --- tests/templates/yaml/default.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/templates/yaml') diff --git a/tests/templates/yaml/default.yaml b/tests/templates/yaml/default.yaml index 095ada8..8c7c63e 100644 --- a/tests/templates/yaml/default.yaml +++ b/tests/templates/yaml/default.yaml @@ -2,5 +2,6 @@ header_one: number_key: 0 header_two: - str_key: "string" - list_key: [1, 2, 3] \ No newline at end of file + # preserves comments + list_key: [1, 2, 3] + str_key: string -- cgit v1.2.3 From c73710bd173702e9d0e1cf005333274c23418574 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Fri, 7 Aug 2020 19:39:30 -0500 Subject: Add invalid templates --- tests/templates/yaml/invalid.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/templates/yaml/invalid.yaml (limited to 'tests/templates/yaml') diff --git a/tests/templates/yaml/invalid.yaml b/tests/templates/yaml/invalid.yaml new file mode 100644 index 0000000..cf2a4ff --- /dev/null +++ b/tests/templates/yaml/invalid.yaml @@ -0,0 +1,6 @@ +invalid-yaml: +yar: +i: +am: +invalid: +boo \ No newline at end of file -- cgit v1.2.3 From 2ef17a5a002b3c304076339619f208ee01e36f48 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Fri, 7 Aug 2020 20:14:44 -0500 Subject: Add all_strings template files --- tests/templates/yaml/all_strings.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/templates/yaml/all_strings.yaml (limited to 'tests/templates/yaml') diff --git a/tests/templates/yaml/all_strings.yaml b/tests/templates/yaml/all_strings.yaml new file mode 100644 index 0000000..1c94b37 --- /dev/null +++ b/tests/templates/yaml/all_strings.yaml @@ -0,0 +1,6 @@ +header: + list: "[]" + dict: "{}" + num: "5" + bool: "false" + float: "5.5" \ No newline at end of file -- cgit v1.2.3