summaryrefslogtreecommitdiff
path: root/internal/ap/resolve_test.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2023-10-03 14:59:30 +0100
committerLibravatar GitHub <noreply@github.com>2023-10-03 14:59:30 +0100
commit297b6eeaaa136f9166e6f5937b5fca917e12fb5b (patch)
tree25eb815e775efd35c3ccb0b5b932547caf6107fb /internal/ap/resolve_test.go
parent[chore]: Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp... (diff)
downloadgotosocial-297b6eeaaa136f9166e6f5937b5fca917e12fb5b.tar.xz
[chore] internal/ap: add pollable AS types, code reformatting, general niceties (#2248)
Diffstat (limited to 'internal/ap/resolve_test.go')
-rw-r--r--internal/ap/resolve_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ap/resolve_test.go b/internal/ap/resolve_test.go
index efb56b1c4..5ec1c4234 100644
--- a/internal/ap/resolve_test.go
+++ b/internal/ap/resolve_test.go
@@ -43,7 +43,7 @@ func (suite *ResolveTestSuite) TestResolveDocumentAsAccountable() {
accountable, err := ap.ResolveAccountable(context.Background(), b)
suite.True(gtserror.WrongType(err))
- suite.EqualError(err, "ResolveAccountable: could not resolve *typedocument.ActivityStreamsDocument to Accountable")
+ suite.EqualError(err, "ResolveAccountable: cannot resolve vocab type *typedocument.ActivityStreamsDocument as accountable")
suite.Nil(accountable)
}