Skip to content

Commit

Permalink
Use more method overrides in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EsotericEnderman committed Nov 3, 2024
1 parent e5628ac commit 1ae0582
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class FileUtilityTest {
@Test fun sha1ZipWorks() {
val resourcePack = File(run, "TestPluginResourcePack.zip")

Path("file/FileUtilityTest/TestPluginResourcePack.zip").saveResource(resourcePack.toPath())
Path("file/FileUtilityTest/TestPluginResourcePack.zip").saveResource(resourcePack)

assertTrue(resourcePack.exists())
assertTrue(resourcePack.isFile)
Expand Down

0 comments on commit 1ae0582

Please sign in to comment.