From: Arthur Diniz <arthurbdiniz@gmail.com>
Date: Fri, 17 Jan 2025 00:05:25 +0000
Subject: Update slogtest empty-group-record explanation

Forwarded: https://github.com/go-logr/zapr/pull/83
---
 slog_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/slog_test.go b/slog_test.go
index 78d84b3..cfebbbc 100644
--- a/slog_test.go
+++ b/slog_test.go
@@ -63,8 +63,8 @@ func TestSlogHandler(t *testing.T) {
 		}); ok {
 			for _, err := range err.Unwrap() {
 				if !containsOne(err.Error(),
-					"a Handler should ignore a zero Record.Time",             // zapr always writes a time field.
-					"a Handler should not output groups for an empty Record", // Relies on WithGroup and that always opens a group. Text may change, see https://go.dev/cl/516155
+					"a Handler should ignore a zero Record.Time",                    // zapr always writes a time field.
+					"a Handler should not output groups if there are no attributes", // Relies on WithGroup and that always opens a group.
 				) {
 					t.Errorf("Unexpected error: %v", err)
 				}
