Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat #327 improve error messages in assertEquals/NotEquals/JsonEquals #328

Closed
wants to merge 1 commit into from

Commits on Jan 14, 2013

  1. feat ariatemplates#327 improve error messages in assertEquals/NotEqua…

    …ls/JsonEquals
    
    1. Allow usage of %1 %2 in assertEquals messages
    
    %1 and %2 are shortcuts for value1 and value2 params passed to
    %assertEquals and can be used as placeholders in the error message.
    
    This commit implements the feature (Assert.js) and changes some of the
    unit tests to use the new capability.
    
    2. Fix the obvious issue with the error message of
    'assertNotEquals'.
    
    3. Write serialized versions of JSON entities in assertJsonEquals
    in case there's no default error message passed.
    
    Close ariatemplates#327. Close ariatemplates#328.
    jakub-g committed Jan 14, 2013
    Copy the full SHA
    7d006bb View commit details
    Browse the repository at this point in the history