Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilquist committed Aug 19, 2024
1 parent 86d9efd commit 77922a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/shared/src/test/scala/fs2/hashing/HashingSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ class HashingSuite extends Fs2Suite with HashingSuitePlatform with TestPlatform
}

test("example of writing a file and a hash") {
def writeAll(path: String): Pipe[IO, Byte, Nothing] = ???
def writeAll(path: String): Pipe[IO, Byte, Nothing] = {
identity(path) // Ignore unused warning
???
}

def writeFileAndHash(path: String): Pipe[IO, Byte, Nothing] =
source =>
Expand Down

0 comments on commit 77922a9

Please sign in to comment.