mirror of
https://github.com/aclindsa/ofxgo.git
synced 2025-07-07 05:58:37 -04:00
Also match trailing whitespace chars in ignoreSpacesRe
This commit is contained in:
@ -8,7 +8,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// match leading and trailing whitespace on each line
|
// 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) {
|
func marshalCheckRequest(t *testing.T, request *ofxgo.Request, expected string) {
|
||||||
t.Helper()
|
t.Helper()
|
||||||
|
Reference in New Issue
Block a user