@@ -2346,41 +2346,35 @@ public void testRemoteLookupJoinIsDisabled() {
23462346
23472347 }
23482348
2349- public void testDecayFunctionNullArgs (){
2349+ public void testDecayFunctionNullArgs () {
23502350 assumeTrue ("Decay function not enabled" , EsqlCapabilities .Cap .DECAY_FUNCTION .isEnabled ());
23512351
23522352 // First arg cannot be null
23532353 assertEquals (
23542354 "2:23: first argument of [decay(null, origin, scale, 0, 0.5, \" linear\" )] cannot be null, received [null]" ,
2355- error ("row origin = 10, scale = 10\n "
2356- + "| eval decay_result = decay(null, origin, scale, 0, 0.5, \" linear\" )" )
2355+ error ("row origin = 10, scale = 10\n " + "| eval decay_result = decay(null, origin, scale, 0, 0.5, \" linear\" )" )
23572356 );
23582357
23592358 // Second arg cannot be null
23602359 assertEquals (
23612360 "2:23: second argument of [decay(value, null, scale, 0, 0.5, \" linear\" )] cannot be null, received [null]" ,
2362- error ("row value = 10, scale = 10\n "
2363- + "| eval decay_result = decay(value, null, scale, 0, 0.5, \" linear\" )" )
2361+ error ("row value = 10, scale = 10\n " + "| eval decay_result = decay(value, null, scale, 0, 0.5, \" linear\" )" )
23642362 );
23652363
23662364 // Third arg cannot be null
23672365 assertEquals (
23682366 "2:23: third argument of [decay(value, origin, null, 0, 0.5, \" linear\" )] cannot be null, received [null]" ,
2369- error ("row value = 10, origin = 10\n "
2370- + "| eval decay_result = decay(value, origin, null, 0, 0.5, \" linear\" )" )
2367+ error ("row value = 10, origin = 10\n " + "| eval decay_result = decay(value, origin, null, 0, 0.5, \" linear\" )" )
23712368 );
23722369
23732370 // Fourth arg can be null
2374- query ("row value = 10, origin = 10, scale = 10\n "
2375- + "| eval decay_result = decay(value, origin, scale, null, 0.5, \" linear\" )" );
2371+ query ("row value = 10, origin = 10, scale = 10\n " + "| eval decay_result = decay(value, origin, scale, null, 0.5, \" linear\" )" );
23762372
23772373 // Fifth arg can be null
2378- query ("row value = 10, origin = 10, scale = 10\n "
2379- + "| eval decay_result = decay(value, origin, scale, 0, null, \" linear\" )" );
2374+ query ("row value = 10, origin = 10, scale = 10\n " + "| eval decay_result = decay(value, origin, scale, 0, null, \" linear\" )" );
23802375
23812376 // Sixth arg can be null
2382- query ("row value = 10, origin = 10, scale = 10\n "
2383- + "| eval decay_result = decay(value, origin, scale, 0, 0.5, null)" );
2377+ query ("row value = 10, origin = 10, scale = 10\n " + "| eval decay_result = decay(value, origin, scale, 0, 0.5, null)" );
23842378 }
23852379
23862380 private void checkFullTextFunctionsInStats (String functionInvocation ) {
0 commit comments