aboutsummaryrefslogtreecommitdiff
path: root/watcher_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-05-19 17:35:22 +0700
committerShulhan <ms@kilabit.info>2022-05-19 17:35:22 +0700
commit1e520d2258d655b856026d7a53d4d4e2320533ff (patch)
tree0504d241a8e3a554192acc52a4d9cd5280ce5796 /watcher_test.go
parent3e6990a67851f6dd8dc130d058323b807ca4e3d9 (diff)
downloadciigo-1e520d2258d655b856026d7a53d4d4e2320533ff.tar.xz
all: reformat all files using latest goimports
While at it, replace any use of ioutil with os/io package.
Diffstat (limited to 'watcher_test.go')
-rw-r--r--watcher_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/watcher_test.go b/watcher_test.go
index e512b05..3ce17ee 100644
--- a/watcher_test.go
+++ b/watcher_test.go
@@ -140,10 +140,8 @@ func testDelete(t *testing.T) {
test.Assert(t, "adoc file deleted", false, gotIsExist)
}
-//
// removeFooter remove the footer from generated HTML. The footer is 4 lines
// at the bottom.
-//
func removeFooter(in string) string {
lines := strings.Split(in, "\n")
n := len(lines)