sahvx655-wq opened a new pull request, #1108:
URL: https://github.com/apache/poi/pull/1108

   Replace legacy instanceof assertions with JUnit 5's assertInstanceOf across 
selected tests in the poi, poi-ooxml, and poi-scratchpad modules.
   This modernizes the test suite, improves assertion readability, and 
eliminates several redundant casts while preserving existing test behavior.
   
   Changes
   Replaced assertTrue(obj instanceof Type) patterns with 
assertInstanceOf(Type.class, obj).
   Removed redundant casts made unnecessary by assertInstanceOf.
   
   Updated tests in:
   poi
   poi-ooxml
   poi-scratchpad
   
   Verification
   Executed the affected test suites locally using Gradle and verified that all 
updated tests pass.


-- 
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]

Reply via email to