Skip to content

Commit 5f726c5

Browse files
committed
Fixed warnings introduced by Scala 3 upgrade
1 parent a1bd1b5 commit 5f726c5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

integration/src/test/scala/fs2/MemoryLeakSpec.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,16 +218,11 @@ class MemoryLeakSpec extends FunSuite {
218218

219219
leakTest("constant eval") {
220220
var cnt = 0
221-
var start = System.currentTimeMillis
222221
Stream
223222
.constant(())
224223
.flatMap { _ =>
225224
Stream.eval(IO {
226225
cnt = (cnt + 1) % 1000000
227-
if (cnt == 0) {
228-
val now = System.currentTimeMillis
229-
start = now
230-
}
231226
})
232227
}
233228
}

0 commit comments

Comments
 (0)