Enable test for primitive array to Object[] conversion in SpEL
See gh-33212
This commit is contained in:
parent
cb6a5baac5
commit
444e7eeb74
|
|
@ -206,7 +206,6 @@ class VariableAndFunctionTests extends AbstractExpressionTests {
|
||||||
evaluate("#varargsObjectFunction(new int[]{1, 2, 3})", "[1, 2, 3]", String.class); // int[] to Object[]
|
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
|
@Test
|
||||||
void functionFromMethodHandleWithVarargsAndPrimitiveArrayToObjectArrayConversion() {
|
void functionFromMethodHandleWithVarargsAndPrimitiveArrayToObjectArrayConversion() {
|
||||||
evaluate("#message('x -> %s %s %s', new short[]{1, 2, 3})", "x -> 1 2 3", String.class); // short[] to Object[]
|
evaluate("#message('x -> %s %s %s', new short[]{1, 2, 3})", "x -> 1 2 3", String.class); // short[] to Object[]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue