diff --git a/tests/src/test/scala/cats/tests/RepresentableStoreSuite.scala b/tests/src/test/scala/cats/tests/RepresentableStoreSuite.scala index fce7ec262d..2a9b08294c 100644 --- a/tests/src/test/scala/cats/tests/RepresentableStoreSuite.scala +++ b/tests/src/test/scala/cats/tests/RepresentableStoreSuite.scala @@ -29,4 +29,11 @@ class RepresentableStoreSuite extends CatsSuite { store.extract should === (store.peek(store.index)) } } + + test("use store alias constructor") { + forAll { (f: String => Int, s: String) => + val store = Store(f, s) + store.extract should === (f(s)) + } + } } \ No newline at end of file