Skip to content

Commit 89744e7

Browse files
committed
Convert test to a JUnit
1 parent cc3fade commit 89744e7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/junit/scala/tools/nsc/PackageSmoosherTest.scala

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
package scala.tools.nsc
22

3+
import org.junit.Test
4+
35
import java.nio.file.Files
46

5-
object PackageSmoosherTest {
6-
def main(args: Array[String]): Unit = {
7+
class PackageSmoosherTest {
8+
@Test
9+
def test(): Unit = {
710
val g = new Global(new Settings)
811
g.settings.usejavacp.value = true
912
import g._

0 commit comments

Comments
 (0)