diff --git a/test/acceptance/export/kml.js b/test/acceptance/export/kml.js
index c2d92cc3..4189d4f2 100644
--- a/test/acceptance/export/kml.js
+++ b/test/acceptance/export/kml.js
@@ -190,8 +190,8 @@ test('GET /api/v1/sql as kml with no rows', function(done){
method: 'GET'
},{ }, function(res){
assert.equal(res.statusCode, 200, res.body);
- var body = '\n\nsql_statement\n\n';
- assert.equal(res.body, body);
+ var body = 'sql_statement';
+ assert.equal(res.body.replace(/\n/g,''), body);
done();
});
});
@@ -207,8 +207,8 @@ test('GET /api/v1/sql as kml with ending semicolon', function(done){
method: 'GET'
},{ }, function(res){
assert.equal(res.statusCode, 200, res.body);
- var body = '\n\nsql_statement\n\n';
- assert.equal(res.body, body);
+ var body = 'sql_statement';
+ assert.equal(res.body.replace(/\n/g,''), body);
done();
});
});