Skip to content

Commit 86c1c2a

Browse files
test clean up
1 parent 8285eaa commit 86c1c2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/other-ksp/src/test/kotlin/org.koin.example/TestModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class TestModule {
116116

117117
assertNotNull(koin.getOrNull<MyType.MyChildType>())
118118

119-
assertNotNull(koin.get<MyInjectedCtorClass>().s == koin.get<MySingleton>())
119+
assertEquals(koin.get<MyInjectedCtorClass>().s, koin.get<MySingleton>())
120120
}
121121

122122

projects/koin-ksp-compiler/src/jvmMain/kotlin/org/koin/compiler/metadata/AnnotationMetadata.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ val KOIN_VIEWMODEL = DefinitionClassAnnotation("viewModel", "org.koin.core.modul
6666

6767
val KOIN_WORKER = DefinitionClassAnnotation("worker", "org.koin.androidx.workmanager.dsl.worker", KoinWorker::class)
6868

69-
val DEFINITION_ANNOTATION_LIST = listOf(SINGLE, SINGLETON, JAVAX_SINGLETON, FACTORY, INJECT,JAVAX_INJECT, SCOPE, SCOPED,KOIN_VIEWMODEL, KOIN_WORKER) + SCOPE_ARCHETYPES_LIST
69+
val DEFINITION_ANNOTATION_LIST = listOf(SINGLE, SINGLETON, JAVAX_SINGLETON, FACTORY, INJECT, JAVAX_INJECT, SCOPE, SCOPED, KOIN_VIEWMODEL, KOIN_WORKER) + SCOPE_ARCHETYPES_LIST
7070

7171
val DEFINITION_ANNOTATION_LIST_TYPES = DEFINITION_ANNOTATION_LIST.map { it.annotationQualifiedName }
7272
val DEFINITION_ANNOTATION_LIST_NAMES = DEFINITION_ANNOTATION_LIST.map { it.annotationSimpleName.lowercase(Locale.getDefault()) }

0 commit comments

Comments
 (0)