Merge pull request #10179 from ThomasdenH/patch-1

Change splice to pop in annotation tests
This commit is contained in:
Tim van der Meij 2018-10-24 23:45:22 +02:00 committed by GitHub
commit dc98bf76eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}
});
});