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

jqUnit.assertDeepEq will compare all primitive values as equal

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • Testing Infrastructure
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: