aboutsummaryrefslogtreecommitdiff
path: root/tests/input_files
diff options
context:
space:
mode:
authorQrius <[email protected]>2025-03-05 08:41:05 +0100
committerQrius <[email protected]>2025-03-05 08:41:08 +0100
commit313e059f367f2ac291cd409e77d22673f9595848 (patch)
tree6440ebdd65e015f8c6b0147fd8eb5f877f35c34e /tests/input_files
parent5fb097851d88b42188ee0502270d8c336102783a (diff)
downloadskaldpress-313e059f367f2ac291cd409e77d22673f9595848.tar.gz
skaldpress-313e059f367f2ac291cd409e77d22673f9595848.zip
First iteration of py skaldpress version
Diffstat (limited to 'tests/input_files')
-rw-r--r--tests/input_files/array_each_17
-rw-r--r--tests/input_files/array_push_15
-rw-r--r--tests/input_files/array_push_25
-rw-r--r--tests/input_files/array_push_38
-rw-r--r--tests/input_files/define_15
-rw-r--r--tests/input_files/define_23
-rw-r--r--tests/input_files/dnl_14
-rw-r--r--tests/input_files/dnl_24
-rw-r--r--tests/input_files/dnl_34
-rw-r--r--tests/input_files/dnl_44
-rw-r--r--tests/input_files/explode_15
-rw-r--r--tests/input_files/explode_26
-rw-r--r--tests/input_files/format_time_13
-rw-r--r--tests/input_files/ifdef_16
-rw-r--r--tests/input_files/ifdef_23
-rw-r--r--tests/input_files/ifdef_33
-rw-r--r--tests/input_files/ifeq_13
-rw-r--r--tests/input_files/ifeq_23
-rw-r--r--tests/input_files/ifeq_33
-rw-r--r--tests/input_files/ifeq_43
-rw-r--r--tests/input_files/ifndef_13
-rw-r--r--tests/input_files/ifndef_24
-rw-r--r--tests/input_files/ifndef_34
-rw-r--r--tests/input_files/ifneq_13
-rw-r--r--tests/input_files/ifneq_23
-rw-r--r--tests/input_files/ifneq_33
-rw-r--r--tests/input_files/ifneq_43
-rw-r--r--tests/input_files/include_13
-rw-r--r--tests/input_files/include_24
-rw-r--r--tests/input_files/markdown_html_15
-rw-r--r--tests/input_files/markdown_html_25
-rw-r--r--tests/input_files/non_macro_html7
-rw-r--r--tests/input_files/shell_13
-rw-r--r--tests/input_files/snnl_14
-rw-r--r--tests/input_files/snnl_24
-rw-r--r--tests/input_files/snnl_35
-rw-r--r--tests/input_files/whitespace_deleting_13
-rw-r--r--tests/input_files/whitespace_deleting_23
-rw-r--r--tests/input_files/wodl_13
-rw-r--r--tests/input_files/wodl_23
40 files changed, 0 insertions, 162 deletions
diff --git a/tests/input_files/array_each_1 b/tests/input_files/array_each_1
deleted file mode 100644
index 5844d71..0000000
--- a/tests/input_files/array_each_1
+++ /dev/null
@@ -1,7 +0,0 @@
-define_array(arr)DNL
-define(item, <span>$0</span>)DNL
-array_push(arr, test)DNL
-array_push(arr, tast)DNL
-array_each(arr, item)
----
-<span>test</span><span>tast</span>
diff --git a/tests/input_files/array_push_1 b/tests/input_files/array_push_1
deleted file mode 100644
index fb59320..0000000
--- a/tests/input_files/array_push_1
+++ /dev/null
@@ -1,5 +0,0 @@
-define_array(arr)DNL
-array_push(arr, test)DNL
-array_size(arr)
----
-1
diff --git a/tests/input_files/array_push_2 b/tests/input_files/array_push_2
deleted file mode 100644
index 3b4d652..0000000
--- a/tests/input_files/array_push_2
+++ /dev/null
@@ -1,5 +0,0 @@
-define_array(arr)DNL
-array_push(arr, test, tast, toast)DNL
-array_size(arr)
----
-3
diff --git a/tests/input_files/array_push_3 b/tests/input_files/array_push_3
deleted file mode 100644
index 60417b4..0000000
--- a/tests/input_files/array_push_3
+++ /dev/null
@@ -1,8 +0,0 @@
-define_array(arr)DNL
-array_push(arr, test, tast, toast)DNL
-array_size(arr)
-array_push(arr, test, tast, toast)DNL
-array_size(arr)
----
-3
-6
diff --git a/tests/input_files/define_1 b/tests/input_files/define_1
deleted file mode 100644
index 68002ea..0000000
--- a/tests/input_files/define_1
+++ /dev/null
@@ -1,5 +0,0 @@
-define(TEMP, testvalue)
-TEMP
----
-
-testvalue
diff --git a/tests/input_files/define_2 b/tests/input_files/define_2
deleted file mode 100644
index 016294a..0000000
--- a/tests/input_files/define_2
+++ /dev/null
@@ -1,3 +0,0 @@
-define(TEMP, TEMP2)define(TEMP)ifdef(TEMP2, TEMP2_ISDEF)
----
-TEMP2_ISDEF
diff --git a/tests/input_files/dnl_1 b/tests/input_files/dnl_1
deleted file mode 100644
index c12bc01..0000000
--- a/tests/input_files/dnl_1
+++ /dev/null
@@ -1,4 +0,0 @@
-DNL
-test
----
-test
diff --git a/tests/input_files/dnl_2 b/tests/input_files/dnl_2
deleted file mode 100644
index 356aee9..0000000
--- a/tests/input_files/dnl_2
+++ /dev/null
@@ -1,4 +0,0 @@
-DNL ifdef(a, b, c)
-test
----
-test
diff --git a/tests/input_files/dnl_3 b/tests/input_files/dnl_3
deleted file mode 100644
index 356aee9..0000000
--- a/tests/input_files/dnl_3
+++ /dev/null
@@ -1,4 +0,0 @@
-DNL ifdef(a, b, c)
-test
----
-test
diff --git a/tests/input_files/dnl_4 b/tests/input_files/dnl_4
deleted file mode 100644
index 67c1c0e..0000000
--- a/tests/input_files/dnl_4
+++ /dev/null
@@ -1,4 +0,0 @@
-DNL
-test
----
-test
diff --git a/tests/input_files/explode_1 b/tests/input_files/explode_1
deleted file mode 100644
index 79b70ba..0000000
--- a/tests/input_files/explode_1
+++ /dev/null
@@ -1,5 +0,0 @@
-define_array(arr)DNL
-explode(arr, |, a|b|c|d)DNL
-array_size(arr)
----
-4
diff --git a/tests/input_files/explode_2 b/tests/input_files/explode_2
deleted file mode 100644
index 7ef0c08..0000000
--- a/tests/input_files/explode_2
+++ /dev/null
@@ -1,6 +0,0 @@
-define_array(arr)DNL
-define(item, $0)DNL
-explode(arr, |, a|b|c|d)DNL
-array_each(arr, item)
----
-abcd
diff --git a/tests/input_files/format_time_1 b/tests/input_files/format_time_1
deleted file mode 100644
index bd9a097..0000000
--- a/tests/input_files/format_time_1
+++ /dev/null
@@ -1,3 +0,0 @@
-format_time(%d %B %Y, 2024-04-04T00:00:00Z)
----
-04 April 2024
diff --git a/tests/input_files/ifdef_1 b/tests/input_files/ifdef_1
deleted file mode 100644
index a308141..0000000
--- a/tests/input_files/ifdef_1
+++ /dev/null
@@ -1,6 +0,0 @@
-define(MAC1, test)SNNL
-ifdef(MAC1, MAC1_ISDEF)
-ifdef(MAC2, MAC2_ISDEF, MAC2_ISNDEF)
----
-MAC1_ISDEF
-MAC2_ISNDEF
diff --git a/tests/input_files/ifdef_2 b/tests/input_files/ifdef_2
deleted file mode 100644
index ecef66c..0000000
--- a/tests/input_files/ifdef_2
+++ /dev/null
@@ -1,3 +0,0 @@
-ifdef(MAC, MAC_ISDEF)
----
-
diff --git a/tests/input_files/ifdef_3 b/tests/input_files/ifdef_3
deleted file mode 100644
index 4867034..0000000
--- a/tests/input_files/ifdef_3
+++ /dev/null
@@ -1,3 +0,0 @@
-ifdef(MAC, MAC_ISDEF, MAC_ISNDEF)
----
-MAC_ISNDEF
diff --git a/tests/input_files/ifeq_1 b/tests/input_files/ifeq_1
deleted file mode 100644
index 3e49f68..0000000
--- a/tests/input_files/ifeq_1
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq(a, a, true, false)
----
-true
diff --git a/tests/input_files/ifeq_2 b/tests/input_files/ifeq_2
deleted file mode 100644
index fe7c0ac..0000000
--- a/tests/input_files/ifeq_2
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq(a, b, true, false)
----
-false
diff --git a/tests/input_files/ifeq_3 b/tests/input_files/ifeq_3
deleted file mode 100644
index 42646b8..0000000
--- a/tests/input_files/ifeq_3
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq(a, a, true)
----
-true
diff --git a/tests/input_files/ifeq_4 b/tests/input_files/ifeq_4
deleted file mode 100644
index d069530..0000000
--- a/tests/input_files/ifeq_4
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq(a, b, true)
----
-
diff --git a/tests/input_files/ifndef_1 b/tests/input_files/ifndef_1
deleted file mode 100644
index 857204b..0000000
--- a/tests/input_files/ifndef_1
+++ /dev/null
@@ -1,3 +0,0 @@
-ifndef(MAC, MAC_ISNDEF)
----
-MAC_ISNDEF
diff --git a/tests/input_files/ifndef_2 b/tests/input_files/ifndef_2
deleted file mode 100644
index fbe0ba3..0000000
--- a/tests/input_files/ifndef_2
+++ /dev/null
@@ -1,4 +0,0 @@
-define(MAC, test)SNNL
-ifndef(MAC, MAC_ISNDEF, MAC_ISDEF)
----
-MAC_ISDEF
diff --git a/tests/input_files/ifndef_3 b/tests/input_files/ifndef_3
deleted file mode 100644
index 82a180d..0000000
--- a/tests/input_files/ifndef_3
+++ /dev/null
@@ -1,4 +0,0 @@
-define(MAC, test)SNNL
-ifndef(MAC, MAC_ISNDEF)
----
-
diff --git a/tests/input_files/ifneq_1 b/tests/input_files/ifneq_1
deleted file mode 100644
index 5b443c5..0000000
--- a/tests/input_files/ifneq_1
+++ /dev/null
@@ -1,3 +0,0 @@
-ifneq(a, a, true, false)
----
-false
diff --git a/tests/input_files/ifneq_2 b/tests/input_files/ifneq_2
deleted file mode 100644
index 8145e9f..0000000
--- a/tests/input_files/ifneq_2
+++ /dev/null
@@ -1,3 +0,0 @@
-ifneq(a, b, true, false)
----
-true
diff --git a/tests/input_files/ifneq_3 b/tests/input_files/ifneq_3
deleted file mode 100644
index 163d871..0000000
--- a/tests/input_files/ifneq_3
+++ /dev/null
@@ -1,3 +0,0 @@
-ifneq(a, a, true)
----
-
diff --git a/tests/input_files/ifneq_4 b/tests/input_files/ifneq_4
deleted file mode 100644
index c93a572..0000000
--- a/tests/input_files/ifneq_4
+++ /dev/null
@@ -1,3 +0,0 @@
-ifneq(a, b, true)
----
-true
diff --git a/tests/input_files/include_1 b/tests/input_files/include_1
deleted file mode 100644
index 1621de2..0000000
--- a/tests/input_files/include_1
+++ /dev/null
@@ -1,3 +0,0 @@
-include(tests/example_include.smp)
----
-
diff --git a/tests/input_files/include_2 b/tests/input_files/include_2
deleted file mode 100644
index 2714eff..0000000
--- a/tests/input_files/include_2
+++ /dev/null
@@ -1,4 +0,0 @@
-include(tests/example_include.smp)SNNL
-ifdef(SMP, SMP_ISDEF, SMP_ISNDEF)
----
-SMP_ISDEF
diff --git a/tests/input_files/markdown_html_1 b/tests/input_files/markdown_html_1
deleted file mode 100644
index 6a9f143..0000000
--- a/tests/input_files/markdown_html_1
+++ /dev/null
@@ -1,5 +0,0 @@
-html_from_markdown(%"
-# Test
-"%)
----
-<h1>Test</h1>
diff --git a/tests/input_files/markdown_html_2 b/tests/input_files/markdown_html_2
deleted file mode 100644
index 6a9f143..0000000
--- a/tests/input_files/markdown_html_2
+++ /dev/null
@@ -1,5 +0,0 @@
-html_from_markdown(%"
-# Test
-"%)
----
-<h1>Test</h1>
diff --git a/tests/input_files/non_macro_html b/tests/input_files/non_macro_html
deleted file mode 100644
index 6f49b4a..0000000
--- a/tests/input_files/non_macro_html
+++ /dev/null
@@ -1,7 +0,0 @@
-<html>
- <p>This is a <em>test</em></p>
-</html>
----
-<html>
- <p>This is a <em>test</em></p>
-</html>
diff --git a/tests/input_files/shell_1 b/tests/input_files/shell_1
deleted file mode 100644
index 3eb1f14..0000000
--- a/tests/input_files/shell_1
+++ /dev/null
@@ -1,3 +0,0 @@
-shell(printf test)
----
-test
diff --git a/tests/input_files/snnl_1 b/tests/input_files/snnl_1
deleted file mode 100644
index 47a10b9..0000000
--- a/tests/input_files/snnl_1
+++ /dev/null
@@ -1,4 +0,0 @@
-SNNL
-test
----
-test
diff --git a/tests/input_files/snnl_2 b/tests/input_files/snnl_2
deleted file mode 100644
index 2fcd0ba..0000000
--- a/tests/input_files/snnl_2
+++ /dev/null
@@ -1,4 +0,0 @@
-SNNL
-test
----
-test
diff --git a/tests/input_files/snnl_3 b/tests/input_files/snnl_3
deleted file mode 100644
index 4a7dad7..0000000
--- a/tests/input_files/snnl_3
+++ /dev/null
@@ -1,5 +0,0 @@
-define(MAC1, test)SNNL
-MAC1 SNNL
-test
----
-test test
diff --git a/tests/input_files/whitespace_deleting_1 b/tests/input_files/whitespace_deleting_1
deleted file mode 100644
index ccda45f..0000000
--- a/tests/input_files/whitespace_deleting_1
+++ /dev/null
@@ -1,3 +0,0 @@
-define(a, b) a
----
- b
diff --git a/tests/input_files/whitespace_deleting_2 b/tests/input_files/whitespace_deleting_2
deleted file mode 100644
index 8777c39..0000000
--- a/tests/input_files/whitespace_deleting_2
+++ /dev/null
@@ -1,3 +0,0 @@
-define(a, b) a_
----
-b
diff --git a/tests/input_files/wodl_1 b/tests/input_files/wodl_1
deleted file mode 100644
index 6466022..0000000
--- a/tests/input_files/wodl_1
+++ /dev/null
@@ -1,3 +0,0 @@
-wodl(https://google.com)
----
-
diff --git a/tests/input_files/wodl_2 b/tests/input_files/wodl_2
deleted file mode 100644
index 51be3e1..0000000
--- a/tests/input_files/wodl_2
+++ /dev/null
@@ -1,3 +0,0 @@
-wodl(http://domene_som_ikke_finnes.no)
----
-