viirya opened a new pull request, #58981:
URL: https://github.com/apache/spark/pull/58981

   ### What changes were proposed in this pull request?
   
   Construct the non-breaking space test character from its code point and 
reuse it in the unary trim assertions. This preserves the test inputs and 
expected results while avoiding Unicode escape sequences in the Scala source.
   
   ### Why are the changes needed?
   
   The new trim test on `master` triggers five `nonascii.message` Scalastyle 
errors. Scalastyle interprets the `\u00A0` escapes as non-ASCII characters, 
causing Scala lint to fail.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Ran `build/sbt 'catalyst/Test/scalastyle'` successfully: 451 files 
processed, 0 errors. No new tests were added because the test data and 
assertions are unchanged.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Codex (GPT-6)
   


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