Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sake92 committed Dec 22, 2024
1 parent 0e69d88 commit 492f968
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions validson/test/src/ba/sake/validson/ValidsonSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ValidsonSuite extends munit.FunSuite {
Seq(
ValidationError("$.num", "must be positive", 0),
ValidationError("$.str", "must not be blank", " "),
ValidationError("$.seq", "must not be empty", Seq.empty)
ValidationError("$.seq", "must be >= 1", Seq.empty)
)
)
}
Expand All @@ -45,7 +45,7 @@ class ValidsonSuite extends munit.FunSuite {
Seq(
ValidationError("$.password", "must contain A", ""),
ValidationError("$.password", "must contain 5", ""),
ValidationError("$.matrix", "must not be empty", Seq.empty)
ValidationError("$.matrix", "must be >= 1", Seq.empty)
)
)

Expand All @@ -54,10 +54,10 @@ class ValidsonSuite extends munit.FunSuite {
Seq(
ValidationError("$.datas[0].num", "must be positive", 0),
ValidationError("$.datas[0].str", "must not be blank", " "),
ValidationError("$.datas[0].seq", "must not be empty", Seq.empty),
ValidationError("$.datas[0].seq", "must be >= 1", Seq.empty),
ValidationError("$.matrix[0][0].num", "must be positive", -55),
ValidationError("$.matrix[0][0].str", "must not be blank", " "),
ValidationError("$.matrix[0][0].seq", "must not be empty", Seq.empty)
ValidationError("$.matrix[0][0].seq", "must be >= 1", Seq.empty)
)
)
}
Expand Down

0 comments on commit 492f968

Please sign in to comment.