Skip to content

Commit

Permalink
Remove commented out validation serialization test that was moved to …
Browse files Browse the repository at this point in the history
…JVM only
  • Loading branch information
ekrich committed Nov 5, 2024
1 parent 20d0638 commit 5ec03f2
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,6 @@ class ValidationTest extends TestUtilsShared {
checkValidationException(e, expecteds)
}

// TODO: Create JVM serialization test or something.
// @Test
// def validationFailedSerializable(): Unit = {
// // Reusing a previous test case to generate an error
// val reference = parseConfig("""{ a : [{},{},{}] }""")
// val conf = parseConfig("""{ a : 42 }""")
// val e = intercept[ConfigException.ValidationFailed] {
// conf.checkValid(reference)
// }
// val expecteds = Seq(WrongType("a", 1, "list", "number"))

// val actual = checkSerializableNoMeaningfulEquals(e)
// checkValidationException(actual, expecteds)
// }

@Test
def validationAllowsListOverriddenWithSameTypeList(): Unit = {
val reference = parseConfig("""{ a : [1,2,3] }""")
Expand Down

0 comments on commit 5ec03f2

Please sign in to comment.