put all tests into main_test.go, more failure mode tests and verify

This commit is contained in:
2024-01-02 12:22:52 +01:00
parent d8e968ed6d
commit a06c730fe4
3 changed files with 483 additions and 43 deletions

View File

@@ -1,2 +1,6 @@
# empty config for Main() unit tests to force unit tests NOT to use an
# eventually existing ~/.kleingebaeck!
template="""
{{.Title}}{{.Price}}{{.Id}}{{.Category}}{{.Condition}}{{.Created}}
"""