From 2c293cc0ac6678253c6af8101ba93866785f64c0 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sun, 21 Jun 2020 11:12:26 -0500 Subject: WIP for refactoring tests --- tests/templates/ini/default.ini | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/templates/ini/default.ini (limited to 'tests/templates/ini') diff --git a/tests/templates/ini/default.ini b/tests/templates/ini/default.ini new file mode 100644 index 0000000..4f711db --- /dev/null +++ b/tests/templates/ini/default.ini @@ -0,0 +1,7 @@ +[header_one] +number_key = 0 + +[header_two] +str_key = "string" +list_key = [1, 2, 3] + -- 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/ini/invalid.ini | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/templates/ini/invalid.ini (limited to 'tests/templates/ini') diff --git a/tests/templates/ini/invalid.ini b/tests/templates/ini/invalid.ini new file mode 100644 index 0000000..c2a81db --- /dev/null +++ b/tests/templates/ini/invalid.ini @@ -0,0 +1,2 @@ +[[[[[]]]]] +i am a key \ 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/ini/all_strings.ini | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/templates/ini/all_strings.ini (limited to 'tests/templates/ini') diff --git a/tests/templates/ini/all_strings.ini b/tests/templates/ini/all_strings.ini new file mode 100644 index 0000000..9ac0ecf --- /dev/null +++ b/tests/templates/ini/all_strings.ini @@ -0,0 +1,7 @@ +[header] +list = [] +dict = {} +num = 5 +bool = false +float = 5.5 + -- cgit v1.2.3