From 4858e5d47d5bed0221a19ab46af306b8eab5935d Mon Sep 17 00:00:00 2001 From: Markus Wüstenberg Date: Wed, 6 Oct 2021 20:49:43 +0200 Subject: Mark the assert test helpers as such (#90) Using `t.Helper()`. Also move the assert package to be internal.--- svg/attributes_test.go | 2 +- svg/elements_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'svg') 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" ) -- cgit 1.4.1