function getLineNumber(contents, idx) {
  return testHelpers.getLineNumber(contents, idx);
}
Simple wrapper for testHelpers.getLineNumber.

@param {string} contents The content of the string to check.
@param {Number} idx Where in the string to stop.
@return {Number} The line number the index ends on.