Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Accept constant expressions in non-dds properties #11960

Merged
merged 1 commit into from
May 23, 2018
Merged

Conversation

anandthakker
Copy link
Contributor

Closes #11940

Needs backport to release-boba

ASSERT_TRUE(result);
ASSERT_TRUE(result->isConstant());
ASSERT_EQ(result->asConstant(), expected);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chose to go with a unit test rather than a render test here, because the latter would quietly cease to guard against regression if whatever currently-non-DDS property we used became DDS.

@anandthakker anandthakker merged commit 464fefa into master May 23, 2018
@anandthakker anandthakker deleted the fix-11940 branch May 23, 2018 13:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants