summaryrefslogtreecommitdiff
path: root/test/junit/scala/tools/nsc/settings/ScalaVersionTest.scala
blob: 77a2da828ee56e80c5ac5b8616971b42e2658a6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package scala.tools.nsc
package settings

import org.junit.Assert._
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.JUnit4
import scala.tools.testing.AssertUtil.assertThrows

@RunWith(classOf[JUnit4])
class ScalaVersionTest {
  // SI-8711
  @Test def versionUnparse() {
    val v = "2.11.3"

    assertEquals(ScalaVersion(v).unparse, v)
  }
}