Skip to content

Unit test assertions are backwards #6

@ScottFreeCode

Description

@ScottFreeCode

According to http://api.qunitjs.com/equal/, the first argument should be the result of the test's processing and the second one should be the expected result. Looks like the tests are all backwards, meaning if they fail they'll label the expected result the actual result and the actual result the expected result, which could be confusing.

(Note that pull requests #3 and #5 add some tests, but do not address this issue.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions