Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Docs and minor test naming fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Mar 9, 2020
1 parent 5157a79 commit 7def834
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/model/range.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,9 @@ export default class Range {
}

/**
* Returns an element contained by a range. The element will be returned when it is the **only** node
* within the range and **fully–contained** at the same time.
* Returns an {@link module:engine/model/element~Element Element} contained by a range.
* The element will be returned when it is the **only** node within the range and **fully–contained**
* at the same time.
*
* @returns {module:engine/model/element~Element|null}
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/model/range.js
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,7 @@ describe( 'Range', () => {
} );
} );

describe( 'getContainerElement()', () => {
describe( 'getContainedElement()', () => {
beforeEach( () => {
prepareRichRoot( root );
} );
Expand Down

0 comments on commit 7def834

Please sign in to comment.