diff options
Diffstat (limited to 'transform/livereloadinject/livereloadinject_test.go')
-rw-r--r-- | transform/livereloadinject/livereloadinject_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transform/livereloadinject/livereloadinject_test.go b/transform/livereloadinject/livereloadinject_test.go index 1058244b4..413ca7b43 100644 --- a/transform/livereloadinject/livereloadinject_test.go +++ b/transform/livereloadinject/livereloadinject_test.go @@ -34,7 +34,7 @@ func doTestLiveReloadInject(t *testing.T, bodyEndTag string) { tr := transform.New(New(1313)) tr.Apply(out, in) - expected := fmt.Sprintf(`<script data-no-instant>document.write('<script src="/livereload.js?port=1313&mindelay=10"></' + 'script>')</script>%s`, bodyEndTag) + expected := fmt.Sprintf(`<script data-no-instant>document.write('<script src="/livereload.js?port=1313&mindelay=10&v=2"></' + 'script>')</script>%s`, bodyEndTag) if out.String() != expected { t.Errorf("Expected %s got %s", expected, out.String()) } |