Skip to content

Commit

Permalink
remove maragu.dev/is
Browse files Browse the repository at this point in the history
  • Loading branch information
markuswustenberg committed Oct 18, 2024
1 parent 82437f9 commit 9fd4295
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
5 changes: 1 addition & 4 deletions cmd/html2gomponents/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@ module maragu.dev/gomponents/cmd/html2gomponents

go 1.23.2

require (
golang.org/x/net v0.30.0
maragu.dev/is v0.2.0
)
require golang.org/x/net v0.30.0
2 changes: 0 additions & 2 deletions cmd/html2gomponents/go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4=
golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU=
maragu.dev/is v0.2.0 h1:poeuVEA5GG3vrDpGmzo2KjWtIMZmqUyvGnOB0/pemig=
maragu.dev/is v0.2.0/go.mod h1:bviaM5S0fBshCw7wuumFGTju/izopZ/Yvq4g7Klc7y8=
10 changes: 6 additions & 4 deletions cmd/html2gomponents/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import (
"os"
"strings"
"testing"

"maragu.dev/is"
)

func TestStart(t *testing.T) {
Expand All @@ -28,8 +26,12 @@ func TestStart(t *testing.T) {
var w strings.Builder
err := start(r, &w)

is.NotError(t, err)
is.Equal(t, out, w.String())
if err != nil {
t.Fatal(err)
}
if out != w.String() {
t.Fatalf("expected %q, got %q", out, w.String())
}
})
}
}
Expand Down

0 comments on commit 9fd4295

Please sign in to comment.