This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git

commit c28d837cb042014785dce4307d2cdef2779263b8
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Jul 19 13:26:57 2025 -0400

    Sort members
---
 .../java/org/apache/commons/text/RandomStringGeneratorTest.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/text/RandomStringGeneratorTest.java 
b/src/test/java/org/apache/commons/text/RandomStringGeneratorTest.java
index d52100ac..3cc5a9e4 100644
--- a/src/test/java/org/apache/commons/text/RandomStringGeneratorTest.java
+++ b/src/test/java/org/apache/commons/text/RandomStringGeneratorTest.java
@@ -280,9 +280,9 @@ class RandomStringGeneratorTest {
     }
 
     @Test
-    void testUsingRandomTextRandomProvider() {
+    void testUsingRandomIntUnaryOperator() {
         final char testChar = 'a';
-        final TextRandomProvider testRandom = n -> testChar;
+        final IntUnaryOperator testRandom = n -> testChar;
         final String str = 
RandomStringGenerator.builder().usingRandom(testRandom).build().generate(10);
         for (final char c : str.toCharArray()) {
             assertEquals(testChar, c);
@@ -290,9 +290,9 @@ class RandomStringGeneratorTest {
     }
 
     @Test
-    void testUsingRandomIntUnaryOperator() {
+    void testUsingRandomTextRandomProvider() {
         final char testChar = 'a';
-        final IntUnaryOperator testRandom = n -> testChar;
+        final TextRandomProvider testRandom = n -> testChar;
         final String str = 
RandomStringGenerator.builder().usingRandom(testRandom).build().generate(10);
         for (final char c : str.toCharArray()) {
             assertEquals(testChar, c);

Reply via email to