uros-b opened a new pull request, #58490: URL: https://github.com/apache/spark/pull/58490
### What changes were proposed in this pull request? `BlockGeneratorSuite` checks boolean conditions with `x === false` in 23 places (both `assert` and `require`). This replaces them with `!x`. ### Why are the changes needed? `!x` is the idiomatic form, and for the `assert` cases ScalaTest's macro produces a clearer failure message than the `x === false` comparison. No logic change. ### Does this PR introduce _any_ user-facing change? No. Test-only. ### How was this patch tested? Existing tests. This is a behavior-preserving refactor; the `streaming` test module compiles cleanly. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code (Opus 4.8) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
