style: rephrase extends beyond to contains or starts after
This commit is contained in:
parent
d2db7eb8ef
commit
5d99014bb8
4 changed files with 14 additions and 14 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue