You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tw...@apache.org on 2018/11/30 12:50:37 UTC

[flink] branch master updated: [hotfix] [table] Fix the misuse of assertEquals

This is an automated email from the ASF dual-hosted git repository.

twalthr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 761e809  [hotfix] [table] Fix the misuse of assertEquals
761e809 is described below

commit 761e8099a60a1cab38400fb0726a96f01bbfc0bd
Author: blueszheng <ki...@163.com>
AuthorDate: Wed Nov 28 23:13:15 2018 +0800

    [hotfix] [table] Fix the misuse of assertEquals
    
    This closes #7190.
---
 .../test/scala/org/apache/flink/table/api/stream/ExplainTest.scala    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flink-libraries/flink-table/src/test/scala/org/apache/flink/table/api/stream/ExplainTest.scala b/flink-libraries/flink-table/src/test/scala/org/apache/flink/table/api/stream/ExplainTest.scala
index 741a3cb..c555883 100644
--- a/flink-libraries/flink-table/src/test/scala/org/apache/flink/table/api/stream/ExplainTest.scala
+++ b/flink-libraries/flink-table/src/test/scala/org/apache/flink/table/api/stream/ExplainTest.scala
@@ -44,7 +44,7 @@ class ExplainTest extends AbstractTestBase {
     val source = scala.io.Source.fromFile(testFilePath +
       "../../src/test/scala/resources/testFilterStream0.out").mkString
     val expect = replaceString(source)
-    assertEquals(result, expect)
+    assertEquals(expect, result)
   }
 
   @Test
@@ -61,7 +61,7 @@ class ExplainTest extends AbstractTestBase {
     val source = scala.io.Source.fromFile(testFilePath +
       "../../src/test/scala/resources/testUnionStream0.out").mkString
     val expect = replaceString(source)
-    assertEquals(result, expect)
+    assertEquals(expect, result)
   }
 
   def replaceString(s: String): String = {