From 5efce01f6fd0c4f617553aba9111f391ad74d661 Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 23 Nov 2023 14:17:35 +0100 Subject: [PATCH] Make test messages consistent --- models/activitypub/actor_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/activitypub/actor_test.go b/models/activitypub/actor_test.go index 3564f34272..f96ca74e61 100644 --- a/models/activitypub/actor_test.go +++ b/models/activitypub/actor_test.go @@ -31,7 +31,7 @@ func TestActorParserValid(t *testing.T) { got, _ := ParseActorID(item) if got != want { - t.Errorf("Test Fail: ParseActorID did not return want: %v.", want) + t.Errorf("ParseActorID did not return want: %v.", want) } } @@ -45,7 +45,7 @@ func TestValidateValid(t *testing.T) { } if err := item.Validate(); err != nil { - t.Errorf("Test Fail: Validating actor returned non nil with valid input.") + t.Errorf("Validating actor returned non nil with valid input.") } } @@ -55,6 +55,6 @@ func TestValidateInvalid(t *testing.T) { actor, _ := ParseActorID(item) if err := actor.Validate(); err == nil { - t.Errorf("Test Fail: Validating actor returned nil with false input.") + t.Errorf("Validating actor returned nil with false input.") } }