package redact

import "testing"

func TestMessage_RedactsBearerToken(t *testing.T) {
	input := `Authorization Bearer sk-abc123xyz failed`
	got := Message(input)
	want := `Authorization Bearer [REDACTED] failed`
	if got != want {
		t.Fatalf("Message() = %q, want %q", got, want)
	}
}
