LuciferYang opened a new pull request #35666: URL: https://github.com/apache/spark/pull/35666
### What changes were proposed in this pull request? [SPARK-7081](https://issues.apache.org/jira/browse/SPARK-7081) introduces test dependency on `hamcrest` to extend assertion syntax. However, `hamcrest` is not very popular now (compared with `assertj`). On the other hand, `hamcrest` is not widely used in Spark code, so this pr use `JUnit4` api to replace the corresponding assertion and remove the dependence on `hamcrest`. ### Why are the changes needed? Clean up weak dependencies. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass GA -- 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]
