Skip to content
Snippets Groups Projects
  • Mike Pennisi's avatar
    c9126723
    Extend assertion error messages · c9126723
    Mike Pennisi authored
    When invoked without a custom assertion message, `assert.sameValue` and
    `assert.notSameValue` automatically create a message that describes the
    actual and expected values.
    
    Extend both assertion methods to also include this information in cases
    where a custom message has been specified.
    c9126723
    History
    Extend assertion error messages
    Mike Pennisi authored
    When invoked without a custom assertion message, `assert.sameValue` and
    `assert.notSameValue` automatically create a message that describes the
    actual and expected values.
    
    Extend both assertion methods to also include this information in cases
    where a custom message has been specified.