cover `Document.getLine` with test and dartdoc