Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-29733

Wrong order of assertEquals parameters

    XMLWordPrintableJSON

Details

    Description

      The assertEquals() requires the expected value as the first parameter, for instance: https://junit.org/junit4/javadoc/4.12/org/junit/Assert.html#assertEquals(long,%20long)
      but in some places the expected value is passed as the second parameter that confuses when such assert fails.

      Attachments

        Activity

          People

            maxgekk Max Gekk
            maxgekk Max Gekk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: