diff --git a/aqua-run/src/main/scala/aqua/run/CallPreparer.scala b/aqua-run/src/main/scala/aqua/run/CallPreparer.scala index bddd491e..cde5b98d 100644 --- a/aqua-run/src/main/scala/aqua/run/CallPreparer.scala +++ b/aqua-run/src/main/scala/aqua/run/CallPreparer.scala @@ -39,7 +39,7 @@ class CallPreparer( ): ValidatedNec[String, Unit] = { if (funcDomain.size != args.length) { invalidNec( - s"Number of arguments for the function is incorrect. Expected: ${args.length}. Actual: ${funcDomain.size}" + s"Number of arguments for the function is incorrect. Expected: ${funcDomain.size}. Actual: ${args.length}" ) } else { funcDomain diff --git a/aqua-run/src/main/scala/aqua/run/RunPreparer.scala b/aqua-run/src/main/scala/aqua/run/RunPreparer.scala index a10c296b..14c97aeb 100644 --- a/aqua-run/src/main/scala/aqua/run/RunPreparer.scala +++ b/aqua-run/src/main/scala/aqua/run/RunPreparer.scala @@ -35,7 +35,7 @@ class RunPreparer( ): ValidatedNec[String, Unit] = { if (funcDomain.size != args.length) { invalidNec( - s"Number of arguments for the function is incorrect. Expected: ${args.length}. Actual: ${funcDomain.size}" + s"Number of arguments for the function is incorrect. Expected: ${funcDomain.size}. Actual: ${args.length}" ) } else { funcDomain