[android] Fix style code generation if array default value is missing
This commit is contained in:
@@ -598,7 +598,7 @@ public class SymbolLayerTest extends BaseLayerTest {
|
||||
assertNull(layer.getTextVariableAnchor().getValue());
|
||||
|
||||
// Set and Get
|
||||
String[] propertyValue = [undefined];
|
||||
String[] propertyValue = new String[0];
|
||||
layer.setProperties(textVariableAnchor(propertyValue));
|
||||
assertEquals(layer.getTextVariableAnchor().getValue(), propertyValue);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user