Skip to content

Commit dbf5621

Browse files
committed
test(promslog): fix test comparison string to match actual error format
Signed-off-by: TJ Hoplock <[email protected]>
1 parent 2d301d8 commit dbf5621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

promslog/slog_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func TestUnmarshallBadLevel(t *testing.T) {
7373
if err == nil {
7474
t.Error("expected error")
7575
}
76-
expErr := `unrecognized log level "debugg"`
76+
expErr := `unrecognized log level debugg`
7777
if err.Error() != expErr {
7878
t.Errorf("expected error %s, got %s", expErr, err.Error())
7979
}

0 commit comments

Comments
 (0)