summaryrefslogtreecommitdiff
path: root/test/junit/scala/collection/SeqViewTest.scala
blob: 24474fc4b9a2b5950ea3e4c9ce99bb537a3f6920 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package scala.collection

import org.junit.runner.RunWith
import org.junit.runners.JUnit4
import org.junit.Assert._
import org.junit.Test

@RunWith(classOf[JUnit4])
class SeqViewTest {

  @Test
  def test_SI8691() {
    // Really just testing to make sure ++: doesn't throw an exception
    assert( Seq(1,2) ++: Seq(3,4).view == Seq(1,2,3,4) )
  }
}