diff --git a/pkg/ueps/packet_test.go b/pkg/ueps/packet_test.go index 4be8669..2b15a54 100644 --- a/pkg/ueps/packet_test.go +++ b/pkg/ueps/packet_test.go @@ -208,7 +208,7 @@ func TestPacket_writeTLV_Ugly(t *testing.T) { } // var sentinel sentinelError = "record not found"; sentinel.Error() == "record not found" -func TestPacket_sentinelError_Good(t *testing.T) { +func TestPacket_sentinelError_Error_Good(t *testing.T) { sentinel := sentinelError("record not found") if sentinel.Error() != "record not found" { @@ -217,7 +217,7 @@ func TestPacket_sentinelError_Good(t *testing.T) { } // var sentinel sentinelError = ""; sentinel.Error() == "" (empty message is valid sentinel) -func TestPacket_sentinelError_Bad(t *testing.T) { +func TestPacket_sentinelError_Error_Bad(t *testing.T) { sentinel := sentinelError("") if sentinel.Error() != "" { @@ -226,7 +226,7 @@ func TestPacket_sentinelError_Bad(t *testing.T) { } // var sentinelFirst, sentinelSecond sentinelError = "x", "x"; sentinelFirst == sentinelSecond (sentinel identity: same message = same error) -func TestPacket_sentinelError_Ugly(t *testing.T) { +func TestPacket_sentinelError_Error_Ugly(t *testing.T) { sentinelFirst := sentinelError("integrity violation") sentinelSecond := sentinelError("integrity violation")