Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This commit fixes two issues with StringMatcherTests **Problem 1** Under some seeds (e.g. 3C93AEF7628D6611) prefix2 would start with the same text as prefix1. This would mean that input that was intended to test against prefix2 would actually match prefix1, and violate the expectations of the test **Problem 2** The code had the equivalent of randomFrom( "abc".toCharArray() ) But Hamcest does not have a randomFrom(char[]) method, so this code was treated as randomFrom( new Object[] { new char[] { 'a', 'b', 'c' } } ) and will return a char[]. Tests that were written assuming they had a random character, actually had an array (char[]) and would then stringify that object into something like [C@5e67f506 Resolves: #88024
- Loading branch information