Skip to content
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

Closed
mkrussel77 opened this issue Aug 27, 2018 · 0 comments
Closed
Labels
Android Mapbox Maps SDK for Android

Comments

@mkrussel77
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

No branches or pull requests

2 participants