Merge branch 'main' into dev

This commit is contained in:
Derek Collison
2022-12-30 12:23:23 -08:00
20 changed files with 87 additions and 51 deletions

View File

@@ -409,7 +409,6 @@ func expectLeftMostResult(t tLogger, c net.Conn, re *regexp.Regexp, buf *[]byte)
}
*buf = append(*buf, recv()...)
} else {
emptyCnt = 0
cutIdx := strings.Index(string(*buf), string(result)) + len(result)
*buf = (*buf)[cutIdx:]
return result