Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test: ensure char[] doesn't being with prefix
The testCharsBeginsWith test has a check that a random prefix of length 2 is not the prefix of a char[]. However, there is no check that the char[] is not randomly generated with the same two characters as the prefix. This change ensures that the char[] does not begin with the prefix. Closes elastic#34765
- Loading branch information