Skip to content

Commit 42520b4

Browse files
armanbilgedurban
andauthored
Make long literal explicit
Co-authored-by: Daniel Urban <[email protected]>
1 parent 0843dc1 commit 42520b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/shared/src/main/scala/catseffect/examples.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ package examples {
8585
}
8686
if (thread eq null) println("sadness (thread is null)")
8787
else {
88-
thread.join(2000)
88+
thread.join(2000L)
8989
// by now the WSTP (and all its threads) must've been shut down:
9090
if (thread.isAlive()) println("sadness (thread is alive)")
9191
}

0 commit comments

Comments
 (0)