discord-kagebot/src/test/kotlin/moe/kageru/kagebot/ConfigTest.kt
kageru 7ebafc9958
Completely rewrote config
Added a rawconfig as an intermediate step when parsing the TOML.
This will make nullability much more reliable and also gives me lots of
options in the future. It also broke all tests because reading the
config (not the raw config) now depends on the discord API. :tehe:
2019-06-12 23:43:36 +02:00

17 lines
415 B
Kotlin

package moe.kageru.kagebot
import io.kotlintest.shouldNotBe
import io.kotlintest.specs.StringSpec
import moe.kageru.kagebot.config.RawConfig
class ConfigTest : StringSpec({
/*
"should properly parse default config" {
Config.config shouldNotBe null
Config.config.commands shouldNotBe null
}
*/
"should convert to raw config" {
RawConfig.config shouldNotBe null
}
})