diff --git a/modules/core/src/test/scala/com/github/tarao/record4s/ArrayRecordSpec.scala b/modules/core/src/test/scala/com/github/tarao/record4s/ArrayRecordSpec.scala index e86ded3..082521e 100644 --- a/modules/core/src/test/scala/com/github/tarao/record4s/ArrayRecordSpec.scala +++ b/modules/core/src/test/scala/com/github/tarao/record4s/ArrayRecordSpec.scala @@ -100,7 +100,7 @@ class ArrayRecordSpec extends helper.UnitSpec { it("should reject non-vararg construction") { val args = Seq("name" -> "tarao") - "ArrayRecord(args: _*)" shouldNot typeCheck + "ArrayRecord(args*)" shouldNot typeCheck } it("should reject accessing non-existing fields") { diff --git a/modules/core/src/test/scala/com/github/tarao/record4s/RecordSpec.scala b/modules/core/src/test/scala/com/github/tarao/record4s/RecordSpec.scala index fb3ccf9..e2413ec 100644 --- a/modules/core/src/test/scala/com/github/tarao/record4s/RecordSpec.scala +++ b/modules/core/src/test/scala/com/github/tarao/record4s/RecordSpec.scala @@ -96,7 +96,7 @@ class RecordSpec extends helper.UnitSpec { it("should reject non-vararg construction") { val args = Seq("name" -> "tarao") - "%(args: _*)" shouldNot typeCheck + "%(args*)" shouldNot typeCheck } it("should reject accessing non-existing fields") {