log-guardian/internal/analysis/analysis_test.go
WayfinderAK 6f7549d439
All checks were successful
build-image / docker (push) Successful in 53s
Implement phase 1 foundations
2026-07-03 20:14:06 -08:00

11 lines
184 B
Go

package analysis
import "testing"
func TestSanitizeLine(t *testing.T) {
got := sanitizeLine(" error\nwith\rspaces ")
if got != "error with spaces" {
t.Fatalf("got %q", got)
}
}