Fix test case

This commit is contained in:
jybp authored and Huin committed 2023-05-10 17:07:24 +01:00
1 parent dc178c5d44
commit c99b664f99
1 file changed
+2 -1
+2 -1
View File
@@ -147,12 +147,13 @@ func TestUPnPError(t *testing.T) {
t.Fatalf("unexpected UPnPError ErrorDescription: %s",
soapErr.Detail.UPnPError.ErrorDescription)
}
if !strings.EqualFold(string(soapErr.Detail.Raw), `
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>725</errorCode>
<errorDescription>OnlyPermanentLeasesSupported</errorDescription>
</UPnPError>
`) {
`) {
t.Fatalf("unexpected Detail.Raw, got:\n%s", string(soapErr.Detail.Raw))
}
}