File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -530,12 +530,12 @@ object Files extends FilesCompanionPlatform with FilesLowPriority {
530530 })
531531
532532 def writeAll (
533- path : Path ,
534- flags : Flags
535- ): Pipe [F , Byte , Nothing ] =
533+ path : Path ,
534+ flags : Flags
535+ ): Pipe [F , Byte , Nothing ] =
536536 in =>
537537 in.pull.stepLeg.flatMap {
538- case None => Pull .done
538+ case None => Pull .done
539539 case Some (leg) =>
540540 Stream
541541 .resource(writeCursor(path, flags))
Original file line number Diff line number Diff line change @@ -113,8 +113,8 @@ class FilesSuite extends Fs2Suite with BaseFileSuite {
113113 val src = Stream (" Hello" , " world!" ).covary[IO ].through(text.utf8.encode)
114114 src.through(Files [IO ].writeAll(path)) ++
115115 src.through(Files [IO ].writeAll(path, Flags .Append )) ++ Files [IO ]
116- .readAll(path)
117- .through(text.utf8.decode)
116+ .readAll(path)
117+ .through(text.utf8.decode)
118118 }
119119 .compile
120120 .foldMonoid
@@ -165,8 +165,7 @@ class FilesSuite extends Fs2Suite with BaseFileSuite {
165165 }
166166 .compile
167167 .foldMonoid
168- .assertEquals(
169- """ |foo
168+ .assertEquals(""" |foo
170169 |bar
171170 |""" .stripMargin)
172171 }
You can’t perform that action at this time.
0 commit comments