Enable test for argument conversion in SpEL

This commit is contained in:
Sam Brannen 2024-01-26 12:42:26 +01:00
parent 0e45f4cec4
commit 9df94357de
1 changed files with 1 additions and 6 deletions

View File

@ -19,7 +19,6 @@ package org.springframework.expression.spel;
import java.util.ArrayList;
import java.util.List;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.core.convert.TypeDescriptor;
@ -227,11 +226,7 @@ class ConstructorInvocationTests extends AbstractExpressionTests {
}
@Test
@Disabled
public void testArgumentConversion01() {
// Closest ctor will be new String(String) and converter supports Double>String
// TODO currently failing as with new ObjectToArray converter closest constructor
// matched becomes String(byte[]) which fails...
void testArgumentConversion01() {
evaluate("new String(3.0d)", "3.0", String.class);
}