about summary refs log tree commit diff stats
path: root/svg
diff options
context:
space:
mode:
authorMarkus Wüstenberg2021-10-06 20:49:43 +0200
committerGitHub2021-10-06 20:49:43 +0200
commit4858e5d47d5bed0221a19ab46af306b8eab5935d (patch)
treedda74c86faa85e4bd82edff07ecf8a05cc7055b3 /svg
parent33524d683661bf73fd224a76ec62fb88b2b3c767 (diff)
downloadgomponents-4858e5d47d5bed0221a19ab46af306b8eab5935d.tar.lz
gomponents-4858e5d47d5bed0221a19ab46af306b8eab5935d.tar.zst
gomponents-4858e5d47d5bed0221a19ab46af306b8eab5935d.zip
Mark the assert test helpers as such (#90)
Using `t.Helper()`.

Also move the assert package to be internal.
Diffstat (limited to 'svg')
-rw-r--r--svg/attributes_test.go2
-rw-r--r--svg/elements_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/svg/attributes_test.go b/svg/attributes_test.go
index 41935e8..c41fb45 100644
--- a/svg/attributes_test.go
+++ b/svg/attributes_test.go
@@ -5,7 +5,7 @@ import (
 	"testing"
 
 	g "github.com/maragudk/gomponents"
-	"github.com/maragudk/gomponents/assert"
+	"github.com/maragudk/gomponents/internal/assert"
 	. "github.com/maragudk/gomponents/svg"
 )
 
diff --git a/svg/elements_test.go b/svg/elements_test.go
index 1b5e9d8..f1ed47c 100644
--- a/svg/elements_test.go
+++ b/svg/elements_test.go
@@ -5,7 +5,7 @@ import (
 	"testing"
 
 	g "github.com/maragudk/gomponents"
-	"github.com/maragudk/gomponents/assert"
+	"github.com/maragudk/gomponents/internal/assert"
 	. "github.com/maragudk/gomponents/svg"
 )