summaryrefslogtreecommitdiffstats
path: root/transform/livereloadinject_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'transform/livereloadinject_test.go')
-rw-r--r--transform/livereloadinject_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/transform/livereloadinject_test.go b/transform/livereloadinject_test.go
index 5aea8689c..cf618e9ee 100644
--- a/transform/livereloadinject_test.go
+++ b/transform/livereloadinject_test.go
@@ -16,7 +16,7 @@ package transform
import (
"bytes"
"fmt"
- "github.com/spf13/hugo/helpers"
+ "strings"
"testing"
)
@@ -27,7 +27,7 @@ func TestLiveReloadInject(t *testing.T) {
func doTestLiveReloadInject(t *testing.T, bodyEndTag string) {
out := new(bytes.Buffer)
- in := helpers.StringToReader(bodyEndTag)
+ in := strings.NewReader(bodyEndTag)
tr := NewChain(LiveReloadInject)
tr.Apply(out, in, []byte("path"))