From ca3c34e362d36d71e04e35aa9a4e9147f3cccb3f Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 24 Jan 2026 07:10:06 +0700 Subject: _static: simplify the topbar section Instead of splitting the topbar into top-heading and menu, breaking it down by class item. --- watcher_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'watcher_test.go') 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)) -- cgit v1.3