summaryrefslogtreecommitdiffstats
path: root/transform/urlreplacers/absurlreplacer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'transform/urlreplacers/absurlreplacer_test.go')
-rw-r--r--transform/urlreplacers/absurlreplacer_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/transform/urlreplacers/absurlreplacer_test.go b/transform/urlreplacers/absurlreplacer_test.go
index 8e8fdc561..f4aa8b8ae 100644
--- a/transform/urlreplacers/absurlreplacer_test.go
+++ b/transform/urlreplacers/absurlreplacer_test.go
@@ -116,7 +116,8 @@ var (
srcsetXMLTests = []test{
{srcsetXMLBasic, srcsetXMLBasicCorrect},
{srcsetXMLSingleQuote, srcsetXMLSingleQuoteCorrect},
- {srcsetXMLVariations, srcsetXMLVariationsCorrect}}
+ {srcsetXMLVariations, srcsetXMLVariationsCorrect},
+ }
relurlTests = []test{{relPathVariations, relPathVariationsCorrect}}
)
@@ -152,7 +153,6 @@ func TestAbsURL(t *testing.T) {
tr := transform.New(NewAbsURLTransformer(testBaseURL))
apply(t.Errorf, tr, absURLTests)
-
}
func TestAbsURLUnqoted(t *testing.T) {
@@ -174,7 +174,6 @@ func TestRelativeURL(t *testing.T) {
tr := transform.New(NewAbsURLTransformer(helpers.GetDottedRelativePath(filepath.FromSlash("/post/sub/"))))
applyWithPath(t.Errorf, tr, relurlTests)
-
}
func TestAbsURLSrcSet(t *testing.T) {