diff --git a/src/test/scala/onera/pmlanalyzer/pml/model/hardware/HardwareTest.scala b/src/test/scala/onera/pmlanalyzer/pml/model/hardware/HardwareTest.scala index 4161317..de694ee 100644 --- a/src/test/scala/onera/pmlanalyzer/pml/model/hardware/HardwareTest.scala +++ b/src/test/scala/onera/pmlanalyzer/pml/model/hardware/HardwareTest.scala @@ -39,18 +39,18 @@ class HardwareTest extends AnyFlatSpec with should.Matchers { } it should "have only specified services when specified" in { - val t: Target = Target(Set(Load("a"), Load("b")), false) + val t: Target = Target(Set(Load("a"), Load("b")), withDefaultServices = false) t.services.size shouldEqual 2 exactly(2, t.services) shouldBe a [Load] - val s = Target(Set(Store("a")), false) + val s = Target(Set(Store("a")), withDefaultServices = false) s.services.size shouldEqual 1 exactly(1, s.services) shouldBe a[Store] - val i = Target(Set.empty, false) + val i = Target(Set.empty, withDefaultServices = false) i.services.size shouldEqual 0 - val j = Target(Symbol("j"), false) + val j = Target(Symbol("j"), withDefaultServices = false) j.services.size shouldEqual 0 }