diff options
author | Kevin Li <kevin.li@mapbox.com> | 2020-02-15 17:36:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-15 17:36:57 +0800 |
commit | 02274e76019bcfb938f50cdb638eca49c33de786 (patch) | |
tree | ed472d6d3eb511a51bd9fcd2fb568b96976aafd7 /test/fixtures | |
parent | 59294aaef333bdd455bd13d6bab6fca730379b52 (diff) | |
download | qtlocation-mapboxgl-02274e76019bcfb938f50cdb638eca49c33de786.tar.gz |
[core] Implement 'in' expression. (#16162)
* Implement in.cpp
* Fix review comments.
* Add expression_equality test for 'in'
* Fix review comments.
* [core] Update changelog.
* [core] Update mapbox-gl-js
* [core] Ignore render-tests/debug/padding
* [core] Update baseline.
Diffstat (limited to 'test/fixtures')
-rw-r--r-- | test/fixtures/expression_equality/in.a.json | 20 | ||||
-rw-r--r-- | test/fixtures/expression_equality/in.b.json | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/test/fixtures/expression_equality/in.a.json b/test/fixtures/expression_equality/in.a.json new file mode 100644 index 0000000000..2632695c6f --- /dev/null +++ b/test/fixtures/expression_equality/in.a.json @@ -0,0 +1,20 @@ +[ + "number", + [ + "in", + [ + "number", + [ + "get", + "i" + ] + ], + [ + "array", + [ + "get", + "arr" + ] + ] + ] +]
\ No newline at end of file diff --git a/test/fixtures/expression_equality/in.b.json b/test/fixtures/expression_equality/in.b.json new file mode 100644 index 0000000000..a63a94fb00 --- /dev/null +++ b/test/fixtures/expression_equality/in.b.json @@ -0,0 +1,20 @@ +[ + "number", + [ + "in", + [ + "number", + [ + "get", + "i" + ] + ], + [ + "array", + [ + "get", + "arr_other" + ] + ] + ] +]
\ No newline at end of file |