We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92d9599 commit 528934cCopy full SHA for 528934c
src/test/scala/codacy/dockerApi/utils/FileHelperTest.scala
@@ -52,12 +52,10 @@ class FileHelperTest extends FlatSpec with Matchers {
52
}
53
54
"FileHelper" should "createFile" in {
55
- val pathString: String = "filename.ext"
+ val pathString: String = "/tmp/fileHelperFilename.ext"
56
+ new java.io.File(pathString).delete()
57
58
val file = FileHelper.createFile(pathString, "foo").toString
-
59
io.Source.fromFile(file).mkString should be("foo")
60
61
- new java.io.File(file).delete()
62
63
0 commit comments