Skip to content
This repository was archived by the owner on Jun 10, 2021. It is now read-only.

Commit 7cdc9b7

Browse files
committed
Fix example in readme
1 parent 0af886e commit 7cdc9b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ val stream = genS(0) {
1313
} yield s
1414
}
1515

16-
wait(stream.to[List]) shouldBe (0 :: 1 :: 2 :: Nil)
16+
Await.result(stream.to[List]) shouldBe (0 :: 1 :: 2 :: Nil)
1717
```
1818

1919
See more examples in tests.

0 commit comments

Comments
 (0)