Skip to content

Commit 9ef1e13

Browse files
authored
Merge pull request #191 from szeiger/wip/more-factory-tests
Add tests for #137 and #183
2 parents 4db0c25 + 7437268 commit 9ef1e13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compat/src/test/scala/test/scala/collection/FactoryTest.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class FactoryTest {
2424
implicitly[Factory[Int, collection.BitSet]]
2525
implicitly[Factory[Int, mutable.BitSet]]
2626
implicitly[Factory[Int, immutable.BitSet]]
27+
implicitly[Factory[Nothing, Seq[Nothing]]]
28+
29+
def f[A] = implicitly[Factory[A, Stream[A]]]
2730

2831
BitSet: Factory[Int, BitSet]
2932
Iterable: Factory[Int, Iterable[Int]]

0 commit comments

Comments
 (0)