Skip to content

Commit

Permalink
Fixed incorrect test
Browse files Browse the repository at this point in the history
  • Loading branch information
orangemug committed May 19, 2019
1 parent 12832e4 commit 7b51ddd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -574,11 +574,11 @@ describe('layer', () => {
type: 'background'
},
{
id: 'b',
id: 'd',
type: 'background'
},
{
id: 'd',
id: 'b',
type: 'background'
},
{
Expand All @@ -591,7 +591,7 @@ describe('layer', () => {
assert.strictEqual(style.current.sources, style.history[0].style.sources);
assert.notStrictEqual(style.current.layers, style.history[0].style.layers);
assert.strictEqual(style.current.layers[0], style.history[0].style.layers[0]);
assert.strictEqual(style.current.layers[2], style.history[0].style.layers[1]);
assert.strictEqual(style.current.layers[3], style.history[0].style.layers[1]);
});

it('backward', () => {
Expand Down

0 comments on commit 7b51ddd

Please sign in to comment.