Enable test for primitive array to Object[] conversion in SpEL

See gh-33212
This commit is contained in:
Sam Brannen 2024-08-05 11:05:53 +03:00
parent cb6a5baac5
commit 444e7eeb74
1 changed files with 0 additions and 1 deletions

View File

@ -206,7 +206,6 @@ class VariableAndFunctionTests extends AbstractExpressionTests {
evaluate("#varargsObjectFunction(new int[]{1, 2, 3})", "[1, 2, 3]", String.class); // int[] to Object[]
}
@Disabled("Primitive array to Object[] conversion is not currently supported")
@Test
void functionFromMethodHandleWithVarargsAndPrimitiveArrayToObjectArrayConversion() {
evaluate("#message('x -> %s %s %s', new short[]{1, 2, 3})", "x -> 1 2 3", String.class); // short[] to Object[]