diff --git a/parser_test.go b/parser_test.go
index 7cdc8724..07b4fea9 100644
--- a/parser_test.go
+++ b/parser_test.go
@@ -301,7 +301,9 @@ func TestParser(t *testing.T) {
l = &METriList{nil}
pre := c.Site.URL // Just in case this is localhost...
+ pre2 := c.Site.EnableSSl
c.Site.URL = "example.com"
+ c.Site.EnableSsl = true
l.Add("//"+c.Site.URL, ""+c.Site.URL+"")
l.Add("//"+c.Site.URL+"\n", ""+c.Site.URL+"
")
l.Add("//"+c.Site.URL+"\n//"+c.Site.URL, ""+c.Site.URL+"
"+c.Site.URL+"")
@@ -317,6 +319,7 @@ func TestParser(t *testing.T) {
}
}
c.Site.URL = pre
+ c.Site.EnableSsl = pre2
c.AddHashLinkType("nnid-", func(sb *strings.Builder, msg string, i *int) {
tid, intLen := c.CoerceIntString(msg[*i:])