summaryrefslogtreecommitdiff
path: root/platform/node/test/js
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-12-22 15:10:24 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-12-23 12:50:42 -0800
commit16de579d7cfc2960793cbcb5e95741f22ab73768 (patch)
treeb4c3b7651f605e3d3dd61b469f61036bd2c4dcc3 /platform/node/test/js
parent7bd4745cf10c504a4899a37016e87bce45e51472 (diff)
downloadqtlocation-mapboxgl-16de579d7cfc2960793cbcb5e95741f22ab73768.tar.gz
[core] Rationalize error handling for resource loading
* Standardize on std::exception_ptr as the error representation (fixes #2854). * Don't format textual strings at the error source; pass on the constituent data via observer method parameters instead. * Use the null object pattern to simplify observer notification code. * Further refactoring for ResourceLoading tests.
Diffstat (limited to 'platform/node/test/js')
-rw-r--r--platform/node/test/js/map.test.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/node/test/js/map.test.js b/platform/node/test/js/map.test.js
index 9c983828ff..df7b5f8706 100644
--- a/platform/node/test/js/map.test.js
+++ b/platform/node/test/js/map.test.js
@@ -224,8 +224,6 @@ test('Map', function(t) {
map.release();
t.ok(err, 'returns error');
- t.ok(err.message.match(/Failed to load/), 'error text matches');
-
t.end();
});
});