aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/model/ContentSourceSetTest.kt
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-17 10:46:26 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-17 11:52:28 +0200
commita2be91ea289ddb1a8634c5fd252243f1b9ab7000 (patch)
tree682463697296d7084d70ceb2816e65badf668fd0 /core/src/test/kotlin/model/ContentSourceSetTest.kt
parentb439f0f4da19273a1b60df45aa380ecf2511de73 (diff)
downloaddokka-a2be91ea289ddb1a8634c5fd252243f1b9ab7000.tar.gz
dokka-a2be91ea289ddb1a8634c5fd252243f1b9ab7000.tar.bz2
dokka-a2be91ea289ddb1a8634c5fd252243f1b9ab7000.zip
Implement SelfRepresentingSingletonSet and let `ContentSourceSet` conform to it
Diffstat (limited to 'core/src/test/kotlin/model/ContentSourceSetTest.kt')
-rw-r--r--core/src/test/kotlin/model/ContentSourceSetTest.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/test/kotlin/model/ContentSourceSetTest.kt b/core/src/test/kotlin/model/ContentSourceSetTest.kt
index b96180a2..74f7854b 100644
--- a/core/src/test/kotlin/model/ContentSourceSetTest.kt
+++ b/core/src/test/kotlin/model/ContentSourceSetTest.kt
@@ -19,17 +19,17 @@ class ContentSourceSetTest {
)
assertFalse(
- DokkaSourceSetID("m3", "s3") in contentSourceSet,
+ DokkaSourceSetID("m3", "s3") in contentSourceSet.sourceSetIDs,
"Expected source set id not being contained in content source set"
)
assertTrue(
- DokkaSourceSetID("m1", "s1") in contentSourceSet,
+ DokkaSourceSetID("m1", "s1") in contentSourceSet.sourceSetIDs,
"Expected source set id being contained in content source set"
)
assertTrue(
- DokkaSourceSetID("m1+m2", "s1+s2") in contentSourceSet,
+ DokkaSourceSetID("m1+m2", "s1+s2") in contentSourceSet.sourceSetIDs,
"Expected merged source set being contained in content source set"
)
}