Skip to content

Commit

Permalink
Fix syntax which will be deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
tarao committed Dec 26, 2023
1 parent 1414f7d commit 0d0e37e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 0d0e37e

Please sign in to comment.