aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/template/template_test.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2022-01-09 00:20:24 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2022-01-09 00:20:24 +0100
commitd480edb65af5d6e9d8906940cdd4093761c1b451 (patch)
tree186cf7e2aee6576d84fdb3df11e6a06bc80d6a52 /internal/feed/template/template_test.go
parent0d3a8c8bab2fad592e192169a83e286d0d2ab692 (diff)
downloadfeed2imap-go-d480edb65af5d6e9d8906940cdd4093761c1b451.tar.gz
feed2imap-go-d480edb65af5d6e9d8906940cdd4093761c1b451.tar.bz2
feed2imap-go-d480edb65af5d6e9d8906940cdd4093761c1b451.zip
template: Restructuring and adding tests.
Diffstat (limited to 'internal/feed/template/template_test.go')
-rw-r--r--internal/feed/template/template_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/feed/template/template_test.go b/internal/feed/template/template_test.go
new file mode 100644
index 0000000..c3fbb7a
--- /dev/null
+++ b/internal/feed/template/template_test.go
@@ -0,0 +1,7 @@
+package template
+
+import "testing"
+
+func TestTemplateDefaults(t *testing.T) {
+ // Dummy test to ensure init() works, i.e. the default templates are loaded
+}