verify fails in :test: CaseChangerActionTest.testToWords (line 50) and testToSubWords (line 63) fail; 17 run, 2 failed. This is a real test failure (Gradle/test reports uploaded in run #2352), not an infrastructure problem.
Root cause
Both assertions expect dashes to be word characters / sub-word separators (one-two is one word; foo-bar splits). The code does not do that: isWordPart has the dash commented out and the LOWER_CASE_DASHES / UPPER_CASE_DASHES transforms are commented out. The tests and that disabling were introduced together in d215d76 (which also removed the CircleCI config), so these assertions never passed in CI. They also conflict with testReplacementText, which asserts "foo-bar" with CAMEL_CASE stays "foo-bar"; that only holds when dashes are separators. No consistent behavior satisfies all three.
Fix
Update the two stale assertions to the shipped behavior (dash is a separator, not a word part / not a sub-word separator) with a comment pointing at the disabled feature. Assertion count is unchanged; nothing is skipped, ignored or loosened. Production code is untouched.
Reviewer note
This changes what two tests assert. If dash support was meant to ship, the alternative is to implement it and revise testReplacementText; this PR deliberately does not make that product change.
## Problem
`verify` fails in `:test`: `CaseChangerActionTest.testToWords` (line 50) and `testToSubWords` (line 63) fail; 17 run, 2 failed. This is a real test failure (Gradle/test reports uploaded in run #2352), not an infrastructure problem.
## Root cause
Both assertions expect dashes to be word characters / sub-word separators (`one-two` is one word; `foo-bar` splits). The code does not do that: `isWordPart` has the dash commented out and the `LOWER_CASE_DASHES` / `UPPER_CASE_DASHES` transforms are commented out. The tests and that disabling were introduced together in d215d76 (which also removed the CircleCI config), so these assertions never passed in CI. They also conflict with `testReplacementText`, which asserts `"foo-bar"` with `CAMEL_CASE` stays `"foo-bar"`; that only holds when dashes are separators. No consistent behavior satisfies all three.
## Fix
Update the two stale assertions to the shipped behavior (dash is a separator, not a word part / not a sub-word separator) with a comment pointing at the disabled feature. Assertion count is unchanged; nothing is skipped, ignored or loosened. Production code is untouched.
## Reviewer note
This changes what two tests assert. If dash support was meant to ship, the alternative is to implement it and revise `testReplacementText`; this PR deliberately does not make that product change.
## Verification
`./gradlew test`: 17 tests, 0 failures, 0 skipped.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
verifyfails in:test:CaseChangerActionTest.testToWords(line 50) andtestToSubWords(line 63) fail; 17 run, 2 failed. This is a real test failure (Gradle/test reports uploaded in run #2352), not an infrastructure problem.Root cause
Both assertions expect dashes to be word characters / sub-word separators (
one-twois one word;foo-barsplits). The code does not do that:isWordParthas the dash commented out and theLOWER_CASE_DASHES/UPPER_CASE_DASHEStransforms are commented out. The tests and that disabling were introduced together ind215d76(which also removed the CircleCI config), so these assertions never passed in CI. They also conflict withtestReplacementText, which asserts"foo-bar"withCAMEL_CASEstays"foo-bar"; that only holds when dashes are separators. No consistent behavior satisfies all three.Fix
Update the two stale assertions to the shipped behavior (dash is a separator, not a word part / not a sub-word separator) with a comment pointing at the disabled feature. Assertion count is unchanged; nothing is skipped, ignored or loosened. Production code is untouched.
Reviewer note
This changes what two tests assert. If dash support was meant to ship, the alternative is to implement it and revise
testReplacementText; this PR deliberately does not make that product change.Verification
./gradlew test: 17 tests, 0 failures, 0 skipped.🤖 Generated with Claude Code