Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-5901

jqUnit.assertDeepEq will compare all primitive values as equal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None

      Description

      The algorithm applied by jqUnit.assertDeepEq (ultimately punching through to QUnit.propEqual) will consider all primitive values as equivalent, which is incredibly unhelpful. This caused significant problems with https://github.com/GPII/windows/pull/59 where this utility was mistakenly used to consider that true was equal to false. We need to adjust this implementation to give sensible results in these cases.

        Attachments

          Activity

            People

            Assignee:
            antranig Antranig Basman
            Reporter:
            antranig Antranig Basman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: