mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
Fix test
This commit is contained in:
parent
6f2e1d2b3a
commit
12c12cbf2f
@ -420,7 +420,7 @@ public class Supplementary {
|
||||
}
|
||||
|
||||
int result = str.codePointCount();
|
||||
int expected = Character.codePointCount();
|
||||
int expected = Character.codePointCount(str);
|
||||
check(result != expected, "substring:codePointCount()", result, expected);
|
||||
|
||||
// test exceptions
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user