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 789baf4c1f/src/mbgl/map/map.cpp (L157-L160)
* fix test expectation
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user