Documentation ¶ Overview ¶ Package testutil provides test helpers shared across the kuke get subcommand test suites. Index ¶ func FirstLine(s string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FirstLine ¶ func FirstLine(s string) string FirstLine returns the first newline-terminated line of s, or s itself if it contains no newline. Used so column-presence assertions check the header row only — data cells can't satisfy them by accident. Types ¶ This section is empty. Source Files ¶ View all Source files firstline.go Click to show internal directories. Click to hide internal directories.