Skip to content

Commit f92f39c

Browse files
authored
Merge pull request #1816 from rubocop/fix1815
Fix an incorrect autocorrect for `RSpec/ChangeByZero` when compound expectations with line break before `.by(0)`
2 parents 9f1c6d3 + d7895e1 commit f92f39c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- Add configuration option `ResponseMethods` to `RSpec/Rails/HaveHttpStatus`. ([@ydah])
1818
- Fix a false negative for `RSpec/DescribedClass` when class with constant. ([@ydah])
1919
- Fix a false positive for `RSpec/ExampleWithoutDescription` when `specify` with multi-line block and missing description. ([@ydah])
20+
- Fix an incorrect autocorrect for `RSpec/ChangeByZero` when compound expectations with line break before `.by(0)`. ([@ydah])
2021

2122
## 2.26.1 (2024-01-05)
2223

0 commit comments

Comments
 (0)