diff options
author | Dane Springmeyer <springmeyer@users.noreply.github.com> | 2018-06-29 22:17:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-29 22:17:29 -0700 |
commit | a70727245c6eeebaf32e1c12bfb7e978f18893ff (patch) | |
tree | f15714ff70465585666753405454cd824cf2ca45 /platform/node/test/js | |
parent | 647959a85327660a8d0b35da0b8a247820a36c15 (diff) | |
download | qtlocation-mapboxgl-a70727245c6eeebaf32e1c12bfb7e978f18893ff.tar.gz |
Change error message with invalid render usage (#12265)
* Change error message with invalid render usage
This change disambiguates this error condition with a different error with the same error message at https://github.com/mapbox/mapbox-gl-native/blob/789baf4c1f252071bf58e689e050b34eb2656363/src/mbgl/map/map.cpp#L157-L160
* fix test expectation
Diffstat (limited to 'platform/node/test/js')
-rw-r--r-- | platform/node/test/js/map.test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/node/test/js/map.test.js b/platform/node/test/js/map.test.js index ce22816ef2..2223e54aaa 100644 --- a/platform/node/test/js/map.test.js +++ b/platform/node/test/js/map.test.js @@ -532,7 +532,7 @@ test('Map', function(t) { t.throws(function() { map.render({}, function() {}); map.render({}, function() {}); - }, /Map is currently rendering an image/); + }, /Map is currently processing a RenderRequest/); map.release(); t.end(); |