Update test/browser/spec/ol/style/expressions.test.js
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
This commit is contained in:
@@ -251,7 +251,7 @@ describe('ol.style.expressions', function () {
|
||||
'(10.0 == a_attr4)'
|
||||
);
|
||||
expect(expressionToGlsl(context, ['==', 'red', ['get', 'attr4']])).to.eql(
|
||||
'(0.0 == a_attr4)'
|
||||
`(${stringToGlsl(context, 'red')} == a_attr4)`
|
||||
);
|
||||
expect(expressionToGlsl(context, ['!=', 10, ['get', 'attr4']])).to.eql(
|
||||
'(10.0 != a_attr4)'
|
||||
|
||||
Reference in New Issue
Block a user