Also match trailing whitespace chars in ignoreSpacesRe

This commit is contained in:
John Starich 2019-06-29 01:11:44 -05:00
parent a2e42ccbdd
commit bd83dc75d2
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import (
)
// match leading and trailing whitespace on each line
var ignoreSpacesRe = regexp.MustCompile("(?m)^[ \t]+|$[\r\n]+")
var ignoreSpacesRe = regexp.MustCompile("(?m)^[ \t]+|[ \t]*$[\r\n]+")
func marshalCheckRequest(t *testing.T, request *ofxgo.Request, expected string) {
t.Helper()