verhas commented on a change in pull request #462: General Code Cleanup
URL: https://github.com/apache/commons-lang/pull/462#discussion_r329199341
 
 

 ##########
 File path: src/test/java/org/apache/commons/lang3/RandomUtilsTest.java
 ##########
 @@ -93,15 +92,6 @@ public void testNextFloatLowerGreaterUpper() {
         assertThrows(IllegalArgumentException.class, () -> 
RandomUtils.nextFloat(2, 1));
     }
 
-    /**
-     * Tests next boolean
-     */
-    @Test
-    public void testBoolean() {
 
 Review comment:
   This test does nothing. `RandomUtils.nextBoolean()` returns a `boolean` that 
can either be `true` or `false`. This is guaranteed by the language, there is 
no need to test it. It is kind of evident.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to