mirror of
https://github.com/glauth/glauth.git
synced 2026-10-24 13:13:02 +00:00
5147d1165a
The twelve battery cases were near-identical closures: the same ldapsearch argument prefix, the same got/want compare, the same t.Fatalf shape. Collapse them into table rows holding only what differs (args, want, message) and run them through one loop. Shared argument builders (bind/svc/otp) remove the repeated -LLL/-H/-D/-w/-x prefix; the two getSecond cases set a line field instead of duplicating the assertion block. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GdP1CLtdwAtAeXuS4hph6g