title: Compare nested lists using scala test
body: <p>How do I compare two list of lists using scala test?</p>
  
  <pre><code>val actual = Array(Row("1", "2"), Row("3", "4"))
  val fail_expected = Array(Row("1", "2"), Row("3", "2"))
  val pass_expected = Array(Row("3", "4"), Row("1", "2"))
  </code></pre>
  
  <p>I have tried with </p>
  
  <pre><code>actual should contain theSameElementsAs pass_expected
  </code></pre>
  
  <p>but it is not working, it says that the two arrays are different, when they are actually the same. </p>
  
  <p>I am using funsuite with scala test.</p>