Skip to content

fix: correct the version pattern in WebistersTest#17

Merged
HafizMMoaz merged 1 commit into
mainfrom
fix/ci-failures
Jul 22, 2026
Merged

fix: correct the version pattern in WebistersTest#17
HafizMMoaz merged 1 commit into
mainfrom
fix/ci-failures

Conversation

@HafizMMoaz

Copy link
Copy Markdown
Member

The test job on main was failing its only test.

testVersion asserted Webisters::VERSION matched #^[0-9]{2}\.\d\.\d$#, which requires a two-digit major version. The constant is 1.0.0, so the suite could never pass. Relaxed the pattern to #^\d+\.\d+\.\d+$#, which is what semantic versioning actually needs.

🤖 Generated with Claude Code

The `test` job on main was failing its only test.

`testVersion` asserted `Webisters::VERSION` matched `#^[0-9]{2}\.\d\.\d$#`, which requires a two-digit major version. The constant is `1.0.0`, so the suite could never pass. Relaxed the pattern to `#^\d+\.\d+\.\d+$#`, which is what semantic versioning actually needs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@HafizMMoaz
HafizMMoaz merged commit d4c87be into main Jul 22, 2026
1 of 2 checks passed
@HafizMMoaz
HafizMMoaz deleted the fix/ci-failures branch July 22, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant