From 93f2ea1a7eddfdec59be82ef978f8e486e345f6c Mon Sep 17 00:00:00 2001 From: Ashish Shubham Date: Wed, 14 Jun 2017 19:59:19 -0700 Subject: [PATCH] tests for toCharacterRange --- types/rangy/rangy-tests.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/rangy/rangy-tests.ts b/types/rangy/rangy-tests.ts index de2ec468f0..3b177a46b3 100644 --- a/types/rangy/rangy-tests.ts +++ b/types/rangy/rangy-tests.ts @@ -74,6 +74,7 @@ function testRangyRange() { rangyRange.splitBoundaries(); assertString(rangyRange.toHtml()); assertRangyRange(rangyRange.union(rangyRange)); + let characterRange:{start:number, end:number} = rangyRange.toCharacterRange(new Node); } function testSelection() {