Add validation to field param name
This commit is contained in:
@@ -530,6 +530,12 @@ class FieldTest {
|
||||
assertNull(field.qualifier, "The qualifier should have been null")
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("static constructors fail for invalid parameter name")
|
||||
fun staticCtorsFailOnParamName() {
|
||||
assertThrows<DocumentException> { Field.equal("a", "b", "that ain't it, Jack...") }
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("nameToPath creates a simple PostgreSQL SQL name")
|
||||
fun nameToPathPostgresSimpleSQL() =
|
||||
|
||||
Reference in New Issue
Block a user