@@ -15,7 +15,8 @@ object TempPathTests extends TestSuite{
15
15
tempFilePath = file.toString
16
16
assert(os.exists(file))
17
17
}
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" )
19
20
}
20
21
test(" temp.withDir" ) {
21
22
var tempDirPath : String = null
@@ -28,7 +29,8 @@ object TempPathTests extends TestSuite{
28
29
assert(os.exists(dir))
29
30
assert(os.exists(file))
30
31
}
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" )
32
34
}
33
35
}
34
36
@@ -39,7 +41,8 @@ object TempPathTests extends TestSuite{
39
41
tempFilePath = file.toString
40
42
assert(os.exists(file))
41
43
}
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" )
43
46
}
44
47
test(" directory" ) {
45
48
var tempDirPath : String = null
@@ -52,7 +55,8 @@ object TempPathTests extends TestSuite{
52
55
assert(os.exists(dir))
53
56
assert(os.exists(file))
54
57
}
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" )
56
60
}
57
61
58
62
test(" multiple files" ) {
@@ -65,7 +69,8 @@ object TempPathTests extends TestSuite{
65
69
files.foreach(file => assert(os.exists(file)))
66
70
}
67
71
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" )
69
74
}
70
75
}
71
76
}
0 commit comments