Add todo on comparing config file

This commit is contained in:
Ben Woo 2023-08-31 23:25:30 +08:00
parent 55fd08e0b1
commit 5208028e65
No known key found for this signature in database
GPG Key ID: FB2A3645536E12C8
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ class WorldConfigFileTest : TestWithMockBukkit() {
}
private fun compareConfigFile(configPath: String, comparePath: String) {
// TODO: Map keys may not guaranteed order. Potentially look at Hamkrest and assertThat.
val config = multiverseCore.dataFolder.toPath().resolve(configPath).toFile().readText()
val configCompare = getResourceAsText(comparePath)
assertNotNull(configCompare)