Groovy
  1. Groovy
  2. GROOVY-5409

Improve error message for shouldFailWithCause

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-beta-3, 1.8.7
    • Component/s: None
    • Labels:
      None

      Description

      The distinction between when to use shouldFail and shouldFailWithCause is sometimes a little subtle. Andre Steingress suggested a tweak to the error message. See here:
      https://github.com/groovy/groovy-core/pull/31

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1h 55m 1 Paul King 16/Apr/12 20:33
        Resolved Resolved Closed Closed
        26d 7h 56m 1 Paul King 13/May/12 04:30
        Mark Thomas made changes -
        Reporter Paul King [ paulk@asert.com.au ] Paul King [ paulk ]
        Mark Thomas made changes -
        Workflow jira [ 12974040 ] Default workflow, editable Closed status [ 12981209 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12734332 ] Default workflow, editable Closed status [ 12746014 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Paul King made changes -
        Field Original Value New Value
        Fix Version/s 1.8.7 [ 18317 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 2.0-beta-3 [ 18244 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        Paul King added a comment -

        Added

        Show
        Paul King added a comment - Added
        paulk@asert.com.au created issue -

          People

          • Assignee:
            Paul King
            Reporter:
            Paul King
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development