assert.neq should use tojson() when printing its arguments

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      assert.eq uses tojson() to print its arguments when it fails:

      uncaught exception: Error: [{ }] == [{ "a" : 1 }] are not equal :
      

      assert.neq does not:

      uncaught exception: Error: [[object Object]] != [[object Object]] are equal :
      

            Assignee:
            David Percy (Inactive)
            Reporter:
            David Percy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: