mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8350383: Test: add more test case for string compare (UL case)
Reviewed-by: fyang
This commit is contained in:
@@ -155,6 +155,7 @@ public class TestStringIntrinsics {
|
||||
char cL = latin1.charAt(indexL);
|
||||
char cU = utf16.charAt(indexU);
|
||||
invokeAndCheck(m, cL - cU, latin1, latin1.replace(cL, cU));
|
||||
invokeAndCheck(m, cU - cL, latin1.replace(cL, cU), latin1);
|
||||
invokeAndCheck(m, cU - cL, utf16, utf16.replace(cU, cL));
|
||||
|
||||
// Different lengths
|
||||
|
||||
Reference in New Issue
Block a user