package modules // SetCardFault makes every card run fault first, and returns a func that // undoes it. func SetCardFault(fault func()) (restore func()) { old := cardFault cardFault = fault return func() { cardFault = old } } // MarkdownBody exposes markdownBody to the tests. var MarkdownBody = markdownBody