File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/core/src/test/scala/org/scalasteward/core/io Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,18 +51,18 @@ class FileAlgTest extends FunSuite {
5151 }
5252
5353 test(" removeTemporarily: nonexistent file" ) {
54- val file = mockRoot / " does-not-exists .txt"
54+ val file = mockRoot / " does-not-exist .txt"
5555 assertEquals(ioFileAlg.removeTemporarily(file).surround(IO .pure(42 )).unsafeRunSync(), 42 )
5656 }
5757
5858 test(" editFile: nonexistent file" ) {
5959 val (state, edited) = fileAlg
60- .editFile(mockRoot / " does-not-exists .txt" , Some .apply)
60+ .editFile(mockRoot / " does-not-exist .txt" , Some .apply)
6161 .runSA(MockState .empty)
6262 .unsafeRunSync()
6363
6464 val expected =
65- MockState .empty.copy(trace = Vector (Cmd (" read" , s " $mockRoot/does-not-exists .txt " )))
65+ MockState .empty.copy(trace = Vector (Cmd (" read" , s " $mockRoot/does-not-exist .txt " )))
6666 assertEquals(state, expected)
6767 assert(! edited)
6868 }
You can’t perform that action at this time.
0 commit comments