Skip to content

Commit

Permalink
Fix source_cache tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vicapow committed Oct 18, 2016
1 parent 0f10d33 commit 78e6c51
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/js/source/source_cache.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ test('SourceCache#findLoadedParent', (t) => {
t.end();
});

t.test('adds from cache', (t) => {
t.test('retains parents', (t) => {
const sourceCache = createSourceCache({});
const tr = new Transform();
tr.width = 512;
Expand All @@ -722,7 +722,6 @@ test('SourceCache#findLoadedParent', (t) => {
t.equal(sourceCache.findLoadedParent(new TileCoord(2, 0, 0), 0, retain), tile);
t.deepEqual(retain, expectedRetain);
t.equal(sourceCache._cache.order.length, 0);
t.equal(sourceCache._tiles[tile.coord.id], tile);

t.end();
});
Expand Down

0 comments on commit 78e6c51

Please sign in to comment.