try to reduce noise in tests

save bytes
This commit is contained in:
Azareal 2020-04-03 06:25:55 +10:00
parent 1fe51768f0
commit 95d3f9ebe1
4 changed files with 5 additions and 5 deletions

View File

@ -73,7 +73,7 @@ func _markdownParse(msg string, n int) string {
var outbytes []byte var outbytes []byte
var lastElement int var lastElement int
breaking := false breaking := false
c.DebugLogf("Initial Message: %+v\n", strings.Replace(msg, "\r", "\\r", -1)) //c.DebugLogf("Initial Message: %+v\n", strings.Replace(msg, "\r", "\\r", -1))
for index := 0; index < len(msg); index++ { for index := 0; index < len(msg); index++ {
simpleMatch := func(char byte, o []byte, c []byte) { simpleMatch := func(char byte, o []byte, c []byte) {

View File

@ -21,7 +21,7 @@ type MEPairList struct {
Items []MEPair Items []MEPair
} }
func (l *MEPairList) Add(msg string, expects string) { func (l *MEPairList) Add(msg, expects string) {
l.Items = append(l.Items, MEPair{msg, expects}) l.Items = append(l.Items, MEPair{msg, expects})
} }