summaryrefslogtreecommitdiffhomepage
path: root/transform
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2019-03-23 20:15:06 +0100
committerBjørn Erik Pedersen <[email protected]>2019-03-23 20:15:06 +0100
commitd30e845485b416e1c48fade14694b12a9fe59b6b (patch)
tree614e321fea5d37301ece7aa9eb5f61557343be4e /transform
parent597e418cb02883418f2cebb41400e8e61413f651 (diff)
downloadhugo-d30e845485b416e1c48fade14694b12a9fe59b6b.tar.gz
hugo-d30e845485b416e1c48fade14694b12a9fe59b6b.zip
Run gofmt -s
Diffstat (limited to 'transform')
-rw-r--r--transform/urlreplacers/absurlreplacer_test.go4
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>`,
},