Skip to content

Commit 7437268

Browse files
committed
Add tests for #137 and #183
I don’t know what changed since these tickets were opened but both cases work fine now.
1 parent 4db0c25 commit 7437268

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)