Skip to content

Commit

Permalink
Looser check around max-age.
Browse files Browse the repository at this point in the history
  • Loading branch information
Young Hahn committed Mar 17, 2013
1 parent 956a81f commit e6310b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tilejson.test.js
Expand Up @@ -95,7 +95,7 @@ describe('loading tilejson files via HTTP', function() {
it('should load a tile from the specified tilejson source', function(done) {
tilejson.getTile(0, 0, 0, function(err, data, headers) {
if (err) throw err;
assert.equal('max-age=14400', headers['Cache-Control']);
assert.ok('Cache-Control' in headers);
assert.equal('943ca1495e3b6e8d84dab88227904190', md5(data));
done();
});
Expand Down

0 comments on commit e6310b3

Please sign in to comment.