style: rephrase extends beyond to contains or starts after

This commit is contained in:
Amaan Qureshi 2024-12-28 18:35:37 -05:00
parent d2db7eb8ef
commit 5d99014bb8
4 changed files with 14 additions and 14 deletions

View file

@ -576,7 +576,7 @@ describe('Node', () => {
});
describe('.firstChildForIndex(index)', () => {
it('returns the first child that extends beyond the given index', () => {
it('returns the first child that contains or starts after the given index', () => {
tree = parser.parse('x10 + 1000');
const sumNode = tree.rootNode.firstChild.firstChild;
@ -588,7 +588,7 @@ describe('Node', () => {
});
describe('.firstNamedChildForIndex(index)', () => {
it('returns the first child that extends beyond the given index', () => {
it('returns the first child that contains or starts after the given index', () => {
tree = parser.parse('x10 + 1000');
const sumNode = tree.rootNode.firstChild.firstChild;