test: 完善 AppPaths 中对 BOT_DATA_PATH 环境变量的测试流程.

通过使用 System-Lambda 库, 补充 AppPaths 中对环境变量使用的测试.
This commit is contained in:
2022-05-19 15:01:16 +08:00
parent efbb57f1f7
commit cac055bb08
2 changed files with 14 additions and 8 deletions

View File

@ -36,6 +36,7 @@ dependencies {
testImplementation(kotlin("test"))
testImplementation("io.mockk:mockk:1.12.3")
testImplementation("com.github.stefanbirkner:system-lambda:1.2.1")
}
tasks.test {