diff options
Diffstat (limited to 'vrsite/app_test.go')
| -rw-r--r-- | vrsite/app_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vrsite/app_test.go b/vrsite/app_test.go index 1ee7209..876e253 100644 --- a/vrsite/app_test.go +++ b/vrsite/app_test.go @@ -391,6 +391,8 @@ func TestServerPages(t *testing.T) { h := sv.handler() for _, tc := range []struct{ path, want string }{ {"/", "second line matters"}, + {"/", `id="filetoggle"`}, + {"/", `id="filelist"`}, {"/files", "hello.txt"}, {"/tree", `class="file`}, {"/notes", "second line matters"}, @@ -398,9 +400,11 @@ func TestServerPages(t *testing.T) { {"/jj", "revset"}, {"/change/" + change, "first change"}, {"/style.css", ".am1 {"}, + {"/style.css", `data-files="hidden"`}, {"/themes.css", `:root[data-theme="zed/one-light"]`}, {"/themes.js", "VRSITE_THEMES"}, {"/app.js", "vrsite-mode"}, + {"/app.js", "vrsite-files-hidden"}, {"/htmx.min.js", "htmx"}, } { w := get(t, h, tc.path, false) |
