This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
isExpression and getExpression doesn't work on newly created properties #12746
Labels
Android
Mapbox Maps SDK for Android
I'm trying to unit test the calls to setProperties and the interrogation of the state of the expression is invalid.
Steps to reproduce
PropertyValue<?> property = lineWidth(Expression.get("width"))
assertTrue(property.isExpression())
assertEquals(Expression.get("width"), property.getExpression())
Expected behavior
Both assertions pass
Actual behavior
Neither pass
Android versions: N/A
Device models: N/A
Mapbox SDK versions: 6.4.0
The text was updated successfully, but these errors were encountered: