Skip to content

Commit

Permalink
Extra test
Browse files Browse the repository at this point in the history
  • Loading branch information
samlown committed Dec 12, 2024
1 parent 38afdfb commit e8b88a1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tax/catalogue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
})
})
}

0 comments on commit e8b88a1

Please sign in to comment.