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 0baaf6f38b
commit 4a91167871
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}}
"""