LuciferYang commented on pull request #35923: URL: https://github.com/apache/spark/pull/35923#issuecomment-1073861304
On the other hand, should we uniformly use `Assert.assertThrows` to replace `@Test(expected = Exception.class)`? My idea is: `Assert.assertThrows` can accurately ensure a statement will throw an Exception, but `@Test(expected = Exception.class)` only ensure the current Test method will throw the corresponding Exception. @srowen @dongjoon-hyun @HyukjinKwon If necessary, I will file a new Jira. -- 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]
