Skip to content

Commit

Permalink
Merge pull request #10179 from ThomasdenH/patch-1
Browse files Browse the repository at this point in the history
Change splice to pop in annotation tests
  • Loading branch information
timvandermeij authored Oct 24, 2018
2 parents f31f4be + b157d8b commit dc98bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/annotation_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ describe('annotation', function() {

// Remove the last invalid flag for the next iteration.
if (!valid) {
flags -= invalidFieldFlags.splice(-1, 1);
flags -= invalidFieldFlags.pop();
}
});
});
Expand Down

0 comments on commit dc98bf7

Please sign in to comment.