diff options
Diffstat (limited to 'bundle-plugin/src/test/scala/com/yahoo/container/plugin/osgi/ImportPackageTest.scala')
-rw-r--r-- | bundle-plugin/src/test/scala/com/yahoo/container/plugin/osgi/ImportPackageTest.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bundle-plugin/src/test/scala/com/yahoo/container/plugin/osgi/ImportPackageTest.scala b/bundle-plugin/src/test/scala/com/yahoo/container/plugin/osgi/ImportPackageTest.scala index b39c8da7df6..4011f170da9 100644 --- a/bundle-plugin/src/test/scala/com/yahoo/container/plugin/osgi/ImportPackageTest.scala +++ b/bundle-plugin/src/test/scala/com/yahoo/container/plugin/osgi/ImportPackageTest.scala @@ -1,16 +1,16 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.container.plugin.osgi -import org.scalatest.junit.{JUnitSuite, ShouldMatchersForJUnit} +import org.scalatest.junit.{AssertionsForJUnit, JUnitSuite} import org.junit.Test - import ImportPackages.Import -import ExportPackages.{Parameter, Export} +import ExportPackages.{Export, Parameter} +import org.scalatest.Matchers /** * @author tonytv */ -class ImportPackageTest extends JUnitSuite with ShouldMatchersForJUnit { +class ImportPackageTest extends JUnitSuite with AssertionsForJUnit with Matchers { val referencedPackages = Set("com.yahoo.exported") val exports = exportByPackageName(Export(List("com.yahoo.exported"), List())) val exportsWithVersion = exportByPackageName(exports.head._2.copy(parameters = List(Parameter("version", "1.3")))) |