diff options
Diffstat (limited to 'transform/urlreplacers/absurlreplacer_test.go')
-rw-r--r-- | transform/urlreplacers/absurlreplacer_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/transform/urlreplacers/absurlreplacer_test.go b/transform/urlreplacers/absurlreplacer_test.go index e7c90adc9..f7a5b1656 100644 --- a/transform/urlreplacers/absurlreplacer_test.go +++ b/transform/urlreplacers/absurlreplacer_test.go @@ -160,11 +160,11 @@ func TestAbsURLUnqoted(t *testing.T) { tr := transform.New(NewAbsURLTransformer(testBaseURL)) apply(t.Errorf, tr, []test{ - test{ + { content: `Link: <a href=/asdf>ASDF</a>`, expected: `Link: <a href=http://base/asdf>ASDF</a>`, }, - test{ + { content: `Link: <a href=/asdf >ASDF</a>`, expected: `Link: <a href=http://base/asdf >ASDF</a>`, }, |