Force single line in createParameterValidation

This commit is contained in:
Niels van Velzen 2023-04-06 21:15:16 +02:00 committed by Max Rumpf
parent 16ab373a70
commit d530dd7349

View File

@ -57,7 +57,7 @@ open class OperationBuilder(
validation: ParameterValidation,
) = when (validation) {
is IntRangeValidation -> addStatement(
"%M(%N in %L..%L) { %S }",
"%M(%N·in·%L..%L)·{·%S·}",
MemberName("kotlin", "require"),
name,
validation.min,