Switched to new assert package

This commit is contained in:
Eduard Urbach 2024-03-12 12:56:30 +01:00
parent 8a90743416
commit 95eea7d886
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
12 changed files with 13 additions and 11 deletions

View File

@ -3,7 +3,7 @@ package arn_test
import (
"testing"
"github.com/akyoto/assert"
"git.akyoto.dev/go/assert"
"github.com/animenotifier/notify.moe/arn"
)

View File

@ -3,7 +3,7 @@ package arn_test
import (
"testing"
"github.com/akyoto/assert"
"git.akyoto.dev/go/assert"
"github.com/animenotifier/notify.moe/arn"
)

View File

@ -3,7 +3,7 @@ package arn_test
import (
"testing"
"github.com/akyoto/assert"
"git.akyoto.dev/go/assert"
"github.com/animenotifier/notify.moe/arn"
)

View File

@ -3,7 +3,7 @@ package arn_test
import (
"testing"
"github.com/akyoto/assert"
"git.akyoto.dev/go/assert"
"github.com/animenotifier/notify.moe/arn"
)

View File

@ -3,7 +3,7 @@ package arn_test
import (
"testing"
"github.com/akyoto/assert"
"git.akyoto.dev/go/assert"
"github.com/animenotifier/notify.moe/arn"
)

View File

@ -3,7 +3,7 @@ package autocorrect_test
import (
"testing"
"github.com/akyoto/assert"
"git.akyoto.dev/go/assert"
"github.com/animenotifier/notify.moe/arn/autocorrect"
)

View File

@ -3,7 +3,7 @@ package search_test
import (
"testing"
"github.com/akyoto/assert"
"git.akyoto.dev/go/assert"
"github.com/animenotifier/notify.moe/arn/search"
)

View File

@ -3,7 +3,7 @@ package stringutils_test
import (
"testing"
"github.com/akyoto/assert"
"git.akyoto.dev/go/assert"
"github.com/animenotifier/notify.moe/arn/stringutils"
)

View File

@ -3,7 +3,7 @@ package validate_test
import (
"testing"
"github.com/akyoto/assert"
"git.akyoto.dev/go/assert"
"github.com/animenotifier/notify.moe/arn/validate"
)

2
go.mod
View File

@ -3,6 +3,7 @@ module github.com/animenotifier/notify.moe
go 1.22.1
require (
git.akyoto.dev/go/assert v0.1.3
github.com/aerogo/aero v1.3.59
github.com/aerogo/api v0.2.3
github.com/aerogo/crawler v0.2.5
@ -17,7 +18,6 @@ require (
github.com/aerogo/run v1.0.3
github.com/aerogo/session-store-nano v0.1.7
github.com/aerogo/sitemap v0.1.4
github.com/akyoto/assert v0.2.4
github.com/akyoto/cache v1.0.6
github.com/akyoto/color v1.8.12
github.com/akyoto/go-matroska v0.1.1

2
go.sum
View File

@ -2,6 +2,8 @@ cloud.google.com/go/compute v1.25.0 h1:H1/4SqSUhjPFE7L5ddzHOfY2bCAvjwNRZPNl6Ni5o
cloud.google.com/go/compute v1.25.0/go.mod h1:GR7F0ZPZH8EhChlMo9FkLd7eUTwEymjqQagxzilIxIE=
cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY=
cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA=
git.akyoto.dev/go/assert v0.1.3 h1:QwCUbmG4aZYsNk/OuRBz1zWVKmGlDUHhOnnDBfn8Qw8=
git.akyoto.dev/go/assert v0.1.3/go.mod h1:0GzMaM0eURuDwtGkJJkCsI7r2aUKr+5GmWNTFPgDocM=
github.com/PuerkitoBio/goquery v1.5.0/go.mod h1:qD2PgZ9lccMbQlc7eEOjaeRlFQON7xY8kdmcsrnKqMg=
github.com/PuerkitoBio/goquery v1.8.1 h1:uQxhNlArOIdbrH1tr0UXwdVFgDcZDrZVdcpygAcwmWM=
github.com/PuerkitoBio/goquery v1.8.1/go.mod h1:Q8ICL1kNUJ2sXGoAhPGUdYDJvgQgHzJsnnd3H7Ho5jQ=

View File

@ -6,7 +6,7 @@ import (
"strings"
"testing"
"github.com/akyoto/assert"
"git.akyoto.dev/go/assert"
"github.com/animenotifier/notify.moe/arn"
"github.com/animenotifier/notify.moe/server"
"github.com/animenotifier/notify.moe/utils/routetests"