From 6a1296d8b91da9cf82c6dea2b465019a5fa71056 Mon Sep 17 00:00:00 2001 From: David Florness Date: Mon, 15 Feb 2021 23:22:35 -0500 Subject: [PATCH] Fix test failure for Println --- matrix/auth.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/matrix/auth.go b/matrix/auth.go index d17fb8a..41a0c03 100644 --- a/matrix/auth.go +++ b/matrix/auth.go @@ -60,13 +60,15 @@ func stripNewline(s string) string { func inquireForAuthInfo() (authInfo *AuthInfo, err error) { reader := bufio.NewReader(os.Stdin) - fmt.Println(`============================== DISCLAIMER ============================== + disclaimer := `============================== DISCLAIMER ============================== tallyard won't make any attempts to read your personal Matrix messages. It uses a Matrix filter that restricts messages it reads to only those with a type beginning with "xyz.tallyard.". If you're skeptical, I encourage you to read the source code. ======================================================================== -`) +` + + fmt.Println(disclaimer) try: authInfo = &AuthInfo{} -- 2.38.4