@@ -15,7 +15,8 @@ object TempPathTests extends TestSuite{
1515 tempFilePath = file.toString
1616 assert(os.exists(file))
1717 }
18- assert(! os.exists(os.Path (tempFilePath)), s " temp file did not get auto-deleted after `Using` block: $tempFilePath" )
18+ assert(! os.exists(os.Path (tempFilePath)),
19+ s " temp file did not get auto-deleted after `Using` block: $tempFilePath" )
1920 }
2021 test(" temp.withDir" ) {
2122 var tempDirPath : String = null
@@ -28,7 +29,8 @@ object TempPathTests extends TestSuite{
2829 assert(os.exists(dir))
2930 assert(os.exists(file))
3031 }
31- assert(! os.exists(os.Path (tempDirPath)), s " temp dir did not get auto-deleted after `Using` block: $tempDirPath" )
32+ assert(! os.exists(os.Path (tempDirPath)),
33+ s " temp dir did not get auto-deleted after `Using` block: $tempDirPath" )
3234 }
3335 }
3436
@@ -39,7 +41,8 @@ object TempPathTests extends TestSuite{
3941 tempFilePath = file.toString
4042 assert(os.exists(file))
4143 }
42- assert(! os.exists(os.Path (tempFilePath)), s " temp file did not get auto-deleted after `Using` block: $tempFilePath" )
44+ assert(! os.exists(os.Path (tempFilePath)),
45+ s " temp file did not get auto-deleted after `Using` block: $tempFilePath" )
4346 }
4447 test(" directory" ) {
4548 var tempDirPath : String = null
@@ -52,7 +55,8 @@ object TempPathTests extends TestSuite{
5255 assert(os.exists(dir))
5356 assert(os.exists(file))
5457 }
55- assert(! os.exists(os.Path (tempDirPath)), s " temp dir did not get auto-deleted after `Using` block: $tempDirPath" )
58+ assert(! os.exists(os.Path (tempDirPath)),
59+ s " temp dir did not get auto-deleted after `Using` block: $tempDirPath" )
5660 }
5761
5862 test(" multiple files" ) {
@@ -65,7 +69,8 @@ object TempPathTests extends TestSuite{
6569 files.foreach(file => assert(os.exists(file)))
6670 }
6771 tempFilePaths.foreach { file =>
68- assert(! os.exists(os.Path (file)), s " temp file did not get auto-deleted after `Using` block: $file" )
72+ assert(! os.exists(os.Path (file)),
73+ s " temp file did not get auto-deleted after `Using` block: $file" )
6974 }
7075 }
7176 }
0 commit comments