You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by "Kengo Seki (Jira)" <ji...@apache.org> on 2022/08/08 08:51:00 UTC

[jira] [Created] (SEDONA-139) Fix wrong argument order in Flink unit tests

Kengo Seki created SEDONA-139:
---------------------------------

             Summary: Fix wrong argument order in Flink unit tests
                 Key: SEDONA-139
                 URL: https://issues.apache.org/jira/browse/SEDONA-139
             Project: Apache Sedona
          Issue Type: Improvement
            Reporter: Kengo Seki


Some unit tests for Flink pass the "expected" and "actual" values to the assert methods in a wrong order. But JUnit shows messages like the following when it fails, so switching the expected and actual values is confusing for developers and should be fixed.

{code}
java.lang.AssertionError: expected:<0> but was:<999>
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)