test: align case changer dash assertions with the shipped behavior #5

Merged
forge-recovery merged 1 commits from fix/case-changer-dash-assertions into develop 2026-11-01 20:27:45 +00:00
1 Commits
Author SHA1 Message Date
james.maesandClaude Sonnet 5.5 34756759b8 test: align case changer dash assertions with the shipped behavior
KofTwentyTwo/ci-policy: ci / fork-guard (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / gradle-1 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / java-docker-2 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / java-maven-3 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / manifests-4 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / node-5 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / rust-6 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / rust-7 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / rust-8 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / source-config-9 (pull_request) Skipped
KofTwentyTwo/ci-policy: ci / not-enrolled (pull_request) Skipped
KofTwentyTwo/ci-policy: Shared Gradle CI / secrets (pull_request) Successful in 35s
KofTwentyTwo/ci-policy: Shared Gradle CI / verify (pull_request) Successful in 10m49s
KofTwentyTwo/ci-policy: Shared Gradle CI / gate (pull_request) Successful in 24s
KofTwentyTwo/ci-policy: ci / gradle-0 (pull_request) Successful in 11m18s
KofTwentyTwo/ci-policy: ci / ci-result (pull_request) Successful in 10s
testToWords and testToSubWords asserted that a dash is part of a word and a
sub-word separator. Dash handling is intentionally disabled in the same
upstream commit that added these tests (isWordPart and the *_DASHES
transforms are commented out), and testReplacementText asserts
"foo-bar" -> CAMEL_CASE stays "foo-bar", which only holds when dashes are
separators. The three assertions cannot all hold, so the two stale ones now
describe the shipped behavior. Assertion count is unchanged; no test is
skipped or disabled. Gradle test: 17 run, 0 failed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 19:39:53 +00:00