blob: 8340c570007f69b69e5e4f0dd699129ba1055832 [file] [log] [blame]
Testing that WI.TextRange works.
== Running test suite: WI.TextRange
-- Running test case: resolveOffsetsNoTrailingLineBreak
PASS: startOffset should be 1.
PASS: endOffset should be 0.
-- Running test case: resolveOffsetsTrailingLineBreak
PASS: startOffset should be 1.
PASS: endOffset should be 14.
-- Running test case: resolveOffsetsTwoTrailingLineBreaks
PASS: startOffset should be 1.
PASS: endOffset should be 14.