fix: failing trail test#968
Conversation
|
Claude finished @mbevc1's task in 36s —— View job Code Review: fix failing trail test
This is a clean, well-scoped fix. The change replaces the hard-coded validation-error count in the golden regex and tidies the test fixture.
-goldenRegex: "Error: 3 validation errors for Template\n.*"
+goldenRegex: "Error: .* validation errors for Template\n.*"Good call. The exact error count is a server-side implementation detail (it just changed from 3 → 4 when
Minor consideration (non-blocking)The That said, Summary✅ Sound change that makes the test resilient to future validation-rule additions. No correctness, security, or performance concerns. Since this only touches a test and a fixture, the static-analysis checks ( |
We've added the '*' attestation type as a valid literal, therefore increasing the validation-error count from 3 to 4. This is making the test more resilient to future changes.