From 92d71fdbde3a2db9cad85a88ea4ccbc7bf0319be Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Wed, 16 Oct 2024 16:54:26 +0200 Subject: [PATCH] Fix wordings --- category.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/category.go b/category.go index 9e90dd3..f740d3b 100644 --- a/category.go +++ b/category.go @@ -34,12 +34,12 @@ func (c *Category) Check() error { if c.Scheme != "" { if !isValidURI(c.Scheme) { - return fmt.Errorf("scheme attribute of category %v not correctly formatted", c.Scheme) + return fmt.Errorf("scheme attribute %v of category not correctly formatted", c.Scheme) } } if !isCorrectlyEscaped(c.Label) { - return fmt.Errorf("label attribute of category %v not correctly escaped", c.Label) + return fmt.Errorf("label attribute %v of category not correctly escaped", c.Label) } if c.Content == nil {