From a28db3c1a618ce4b413c7315e8b0a9f43b6ade4a Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Thu, 3 Oct 2019 21:28:00 +0200 Subject: Fix the tests --- core/src/test/kotlin/model/PackageTest.kt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'core/src/test/kotlin/model') diff --git a/core/src/test/kotlin/model/PackageTest.kt b/core/src/test/kotlin/model/PackageTest.kt index e20e6afa..47c88385 100644 --- a/core/src/test/kotlin/model/PackageTest.kt +++ b/core/src/test/kotlin/model/PackageTest.kt @@ -126,15 +126,7 @@ abstract class BasePackageTest(val analysisPlatform: Platform) { analysisPlatform = analysisPlatform ) ) { model -> - assertEquals(1, model.members.count()) - with(model.members.elementAt(0)) { - assertEquals(NodeKind.Package, kind) - assertEquals("simple.name", name) - assertEquals(Content.Empty, content) - assertTrue(details.none()) - assertTrue(members.none()) - assertTrue(links.none()) - } + assertEquals(0, model.members.count()) } } } -- cgit