mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-10-29 08:03:05 +00:00
improvements in startup launcher
This commit is contained in:
1 parent
ee56e9543a
commit
a83ee86340
6 files changed
+91
-44
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import dev.inmo.micro_utils.startup.launcher.Config
|
||||
import dev.inmo.micro_utils.startup.launcher.HelloWorldPlugin
|
||||
import dev.inmo.micro_utils.startup.launcher.StartLauncherPlugin
|
||||
import dev.inmo.micro_utils.startup.launcher.defaultJson
|
||||
import dev.inmo.micro_utils.startup.launcher.start
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.test.runTest
|
||||
import kotlinx.serialization.json.jsonObject
|
||||
@@ -23,7 +23,7 @@ class StartupLaunchingTests {
|
||||
|
||||
runTest {
|
||||
val job = launch {
|
||||
start(emptyJson)
|
||||
StartLauncherPlugin.start(emptyJson)
|
||||
}
|
||||
job.join()
|
||||
}
|
||||
@@ -37,7 +37,7 @@ class StartupLaunchingTests {
|
||||
|
||||
runTest {
|
||||
val job = launch {
|
||||
start(emptyJson)
|
||||
StartLauncherPlugin.start(emptyJson)
|
||||
}
|
||||
job.join()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user