summaryrefslogtreecommitdiff
path: root/platform/node
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-10-18 18:41:59 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-10-23 12:23:40 +0200
commit8bf66ef7a71ea220f2ed30ddd7feda28805dde41 (patch)
tree9d12b8b9c40b76a5334d00b145931151accdbb8e /platform/node
parent70d5972e104aac91f4198540d4af14562e92d555 (diff)
downloadqtlocation-mapboxgl-8bf66ef7a71ea220f2ed30ddd7feda28805dde41.tar.gz
[core] remove some uses of <iostream> and <sstream>
Diffstat (limited to 'platform/node')
-rw-r--r--platform/node/test/js/map.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/node/test/js/map.test.js b/platform/node/test/js/map.test.js
index 4a71d72046..b21c1519e3 100644
--- a/platform/node/test/js/map.test.js
+++ b/platform/node/test/js/map.test.js
@@ -317,7 +317,7 @@ test('Map', function(t) {
t.throws(function() {
map.load('foo bar');
- }, /Failed to parse style: 1 - Invalid value./);
+ }, /Failed to parse style: Invalid value. at offset 1/);
t.throws(function() {
map.load('""');
@@ -349,7 +349,7 @@ test('Map', function(t) {
t.throws(function() {
map.load('invalid');
- }, /Failed to parse style: 0 - Invalid value./);
+ }, /Failed to parse style: Invalid value. at offset 0/);
});
t.test('accepts an empty stylesheet string', function(t) {