aboutsummaryrefslogtreecommitdiff
path: root/watcher_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-24 07:10:06 +0700
committerShulhan <ms@kilabit.info>2026-01-24 18:45:20 +0700
commitca3c34e362d36d71e04e35aa9a4e9147f3cccb3f (patch)
treebaa628129f59db01832f27f14b7e398c7b00a08e /watcher_test.go
parent94d78cae118b40852bab76b8c5ec1e46226cb4ef (diff)
downloadciigo-ca3c34e362d36d71e04e35aa9a4e9147f3cccb3f.tar.xz
_static: simplify the topbar section
Instead of splitting the topbar into top-heading and menu, breaking it down by class item.
Diffstat (limited to 'watcher_test.go')
-rw-r--r--watcher_test.go8
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))