Function: ert--string-first-line
ert--string-first-line is a byte-compiled function defined in
ert.el.gz.
Signature
(ert--string-first-line S)
Documentation
Return the first line of S, or S if it contains no newlines.
The return value does not include the line terminator.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
(defun ert--string-first-line (s)
"Return the first line of S, or S if it contains no newlines.
The return value does not include the line terminator."
(substring s 0 (cl-position ?\n s)))