Documentation
¶
Index ¶
Constants ¶
View Source
const ExpHumanId = "\x07human-id\x07"
View Source
const ExpISO8601 = "\x07iso8601\x07"
View Source
const ExpId = "\x07id\x07"
View Source
const ExpOrgModeDate = "\x07org-mode-date\x07"
View Source
const ExpTimestamp = "\x07timestamp\x07"
Variables ¶
View Source
var Update = flag.Bool("Update", false, "Update golden files")
Functions ¶
func MakeExpectedRegex ¶
MakeExpectedRegex transform a raw string of an expected output into a regex suitable for testing. Some markers like ExpId are available to substitute the appropriate regex for element that can vary randomly.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.