diff options
author | bep <bjorn.erik.pedersen@gmail.com> | 2015-03-18 19:42:46 +0100 |
---|---|---|
committer | bep <bjorn.erik.pedersen@gmail.com> | 2015-03-18 20:03:34 +0100 |
commit | 658cfb287ec8af3c97633e19a2b584d5a9b0ecc2 (patch) | |
tree | 98adfcb917d14e42ee1560d0f7ec9398bfdbb6a9 /transform/chain_test.go | |
parent | e7099cfa26d31cc7544e6db37899678ef8bd65ff (diff) |
Remove URL param from exported AbsURL methods
This is to make it clear that there is only one URL in play,
the BaseURL.
Diffstat (limited to 'transform/chain_test.go')
-rw-r--r-- | transform/chain_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/transform/chain_test.go b/transform/chain_test.go index d8ceb8bca..c69b2eb82 100644 --- a/transform/chain_test.go +++ b/transform/chain_test.go @@ -85,7 +85,7 @@ func TestChaingMultipleTransformers(t *testing.T) { } func BenchmarkAbsURL(b *testing.B) { - absURL, _ := AbsURL("http://base") + absURL, _ := absURLFromURL("http://base") tr := NewChain(absURL...) b.ResetTimer() @@ -95,7 +95,7 @@ func BenchmarkAbsURL(b *testing.B) { } func TestAbsURL(t *testing.T) { - absURL, _ := AbsURL("http://base") + absURL, _ := absURLFromURL("http://base") tr := NewChain(absURL...) apply(t.Errorf, tr, abs_url_tests) @@ -103,7 +103,7 @@ func TestAbsURL(t *testing.T) { } func BenchmarkXMLAbsURL(b *testing.B) { - absURLInXML, _ := AbsURLInXML("http://base") + absURLInXML, _ := absURLInXMLFromURL("http://base") tr := NewChain(absURLInXML...) b.ResetTimer() @@ -113,7 +113,7 @@ func BenchmarkXMLAbsURL(b *testing.B) { } func TestXMLAbsURL(t *testing.T) { - absURLInXML, _ := AbsURLInXML("http://base") + absURLInXML, _ := absURLInXMLFromURL("http://base") tr := NewChain(absURLInXML...) apply(t.Errorf, tr, xml_abs_url_tests) } |