diff options
author | Bjørn Christian Seime <bjorncs@yahoo-inc.com> | 2017-07-11 14:48:36 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahoo-inc.com> | 2017-07-11 17:47:10 +0200 |
commit | 8674b0c8963782535b8a779783455e9699b5644d (patch) | |
tree | a824f8557a9c92f44b5e66b1c2b81134d0f9297e /bundle-plugin/src/test/scala/com/yahoo/container/plugin/osgi/ImportPackageTest.scala | |
parent | 680acc25df067e19f4b8933b8f68e9bff4596d76 (diff) |
ShouldMatchersForJUnit is removed from scala-test v3
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")))) |