[ 
https://issues.apache.org/jira/browse/GROOVY-12031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18082979#comment-18082979
 ] 

ASF GitHub Bot commented on GROOVY-12031:
-----------------------------------------

testlens-app[bot] commented on PR #2553:
URL: https://github.com/apache/groovy/pull/2553#issuecomment-4522680041

   ## 🚨 TestLens detected 1 failed test 🚨
   
   Here is what you can do:
   
   1) Inspect the test failures carefully.
   2) If you are convinced that some of the tests are flaky, you can mute them 
below.
   3) Finally, trigger a rerun by checking the rerun checkbox.
   
   ### Test Summary
   
   | Check | Project/Task | Test | Runs |
   |---|---|---|---|
   | [Build and test / lts \(21, 
ubuntu-latest\)](https://github.com/apache/groovy/actions/runs/26311428988/job/77460841312?pr=2553)
 | :groovy-groovysh:test | HelpCommandTest > helpListsKnownCommands\(\) | ❌ |
   
   🏷️ Commit: af0f1b9fa2f365e9404318300b80dfda09614755
   ▶️ Tests:  16945 executed
   🟡 Checks: 3/28 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>HelpCommandTest > helpListsKnownCommands()</strong> 
(:groovy-groovysh:test in <a 
href="https://github.com/apache/groovy/actions/runs/26311428988/job/77460841312?pr=2553";>Build
 and test / lts (21, ubuntu-latest)</a>)</summary>
   
   ```
   Assertion failed: 
   
   assert out.contains('show')
          |   |
          |   false
          '[?2027$p  System:\r\n    /exit        \r\n    
/help        \r\n  '
   
        at 
org.codehaus.groovy.runtime.InvokerHelper.createAssertError(InvokerHelper.java:400)
        at 
org.apache.groovy.groovysh.commands.HelpCommandTest.helpListsKnownCommands(HelpCommandTest.groovy:44)
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 HelpCommandTest > helpListsKnownCommands\(\) <!

> Provide a DGM#takeIf method
> ---------------------------
>
>                 Key: GROOVY-12031
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12031
>             Project: Groovy
>          Issue Type: New Feature
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>
> Matching Kotlin's method of the same name.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to