Merge pull request #10179 from ThomasdenH/patch-1
Change splice to pop in annotation tests
This commit is contained in:
commit
dc98bf76eb
@ -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();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user