[core] remove some uses of <iostream> and <sstream>

This commit is contained in:
Konstantin Käfer
2018-10-18 18:41:59 +02:00
parent 70d5972e10
commit 8bf66ef7a7
21 changed files with 61 additions and 56 deletions

View File

@@ -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) {