mirror of
https://github.com/golang/go.git
synced 2024-09-21 18:38:37 +00:00
encoding/xml: remove unnecessary fmt.Sprintf call
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
This commit is contained in:
parent
7fd62ba821
commit
ef60463c7b
@ -1751,7 +1751,7 @@ var marshalIndentTests = []struct {
|
||||
},
|
||||
Prefix: "",
|
||||
Indent: "\t",
|
||||
ExpectXML: fmt.Sprintf("<agent handle=\"007\">\n\t<Identity>James Bond</Identity><redacted/>\n</agent>"),
|
||||
ExpectXML: "<agent handle=\"007\">\n\t<Identity>James Bond</Identity><redacted/>\n</agent>",
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user