diff options
Diffstat (limited to 'watcher_test.go')
| -rw-r--r-- | watcher_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/watcher_test.go b/watcher_test.go index 64bb08c..210711b 100644 --- a/watcher_test.go +++ b/watcher_test.go @@ -105,7 +105,7 @@ func testAdocCreate(t *testing.T, testWatcher *watcher, tdata *test.Data, pathFi t.Fatal(err) } - gotBody = removeFooter(gotBody, 17) + gotBody = removeFooter(gotBody, 13) expBody = tdata.Output[`create.adoc.html`] test.Assert(t, `HTML body`, string(expBody), string(gotBody)) @@ -135,7 +135,7 @@ func testAdocUpdate(t *testing.T, testWatcher *watcher, tdata *test.Data, pathFi t.Fatal(err) } - gotBody = removeFooter(gotBody, 17) + gotBody = removeFooter(gotBody, 13) expBody = tdata.Output[`update.adoc.html`] test.Assert(t, `HTML body`, string(expBody), string(gotBody)) @@ -186,7 +186,7 @@ func testMarkdownCreate(t *testing.T, testWatcher *watcher, tdata *test.Data, pa if err != nil { t.Fatal(err) } - gotBody = removeFooter(gotBody, 10) + gotBody = removeFooter(gotBody, 6) expBody = string(tdata.Output[`create.md.html`]) test.Assert(t, `HTML body`, expBody, string(gotBody)) @@ -216,7 +216,7 @@ func testMarkdownUpdate(t *testing.T, testWatcher *watcher, tdata *test.Data, pa if err != nil { t.Fatal(err) } - gotBody = removeFooter(gotBody, 10) + gotBody = removeFooter(gotBody, 6) expBody = string(tdata.Output[`update.md.html`]) test.Assert(t, `HTML body`, expBody, string(gotBody)) |
