From e8b88a15338aaa3a3374f21f2578a1048bd1c2ec Mon Sep 17 00:00:00 2001 From: Sam Lown Date: Thu, 12 Dec 2024 15:26:29 +0000 Subject: [PATCH] Extra test --- tax/catalogue_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tax/catalogue_test.go b/tax/catalogue_test.go index 08ae05e5..c75cc5a2 100644 --- a/tax/catalogue_test.go +++ b/tax/catalogue_test.go @@ -20,3 +20,11 @@ func TestAllCatalogueDefs(t *testing.T) { } assert.True(t, match) } + +func TestRegisterCatalogueDef(t *testing.T) { + t.Run("missing source file", func(t *testing.T) { + assert.Panics(t, func() { + tax.RegisterCatalogueDef("missing.json") + }) + }) +}