We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57aa8bf commit 1ddbebfCopy full SHA for 1ddbebf
1 file changed
tests/snapshots/src/main/scala/tests/SaveSnapshotHandler.scala
@@ -17,10 +17,7 @@ class SaveSnapshotHandler extends SnapshotHandler {
17
obtainedOutput: () => String
18
): Unit = {
19
Files.createDirectories(expectFile.getParent)
20
- Files.write(
21
- expectFile,
22
- obtainedOutput().getBytes(StandardCharsets.UTF_8)
23
- )
+ Files.write(expectFile, obtainedOutput().getBytes(StandardCharsets.UTF_8))
24
writtenTests.add(expectFile)
25
}
26
0 commit comments