[
https://issues.apache.org/jira/browse/SPARK-59200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-59200:
-----------------------------------
Labels: pull-request-available (was: )
> Simplify redundant boolean comparisons in BlockGeneratorSuite
> -------------------------------------------------------------
>
> Key: SPARK-59200
> URL: https://issues.apache.org/jira/browse/SPARK-59200
> Project: Spark
> Issue Type: Improvement
> Components: DStreams
> Affects Versions: 4.4.0
> Reporter: Uroš Bojanić
> Priority: Minor
> Labels: pull-request-available
>
> BlockGeneratorSuite uses `x === false` for boolean checks in 23 places
> (assert and require). This replaces them with `!x`, which is more idiomatic
> and gives clearer ScalaTest assert failure messages. No logic change;
> test-only.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]