Skip to content

Commit

Permalink
Simplify plugin utility test
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Nov 3, 2024
1 parent 1ca6441 commit ab0c99a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ class PluginUtilityTest {
}

@Test fun savingFolderWorks() {
val resourcesPath = Path("TestPluginResourcePack")
val file = File(plugin.dataFolder, resourcesPath.toString())
val file = plugin.saveResources(Path("TestPluginResourcePack"))

plugin.saveResources(resourcesPath)
assertTrue(file.exists())
assertTrue(file.isDirectory)
assertFalse(file.isFile)
Expand Down

0 comments on commit ab0c99a

Please sign in to comment.