From aa9bca810912f102a13a674ee30bf97f5667f662 Mon Sep 17 00:00:00 2001 From: tjp Date: Mon, 13 Nov 2023 07:27:56 -0700 Subject: lint and bug fixes --- gopher/gophermap/extended_test.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gopher/gophermap/extended_test.go') diff --git a/gopher/gophermap/extended_test.go b/gopher/gophermap/extended_test.go index 0c8b647..5210984 100644 --- a/gopher/gophermap/extended_test.go +++ b/gopher/gophermap/extended_test.go @@ -66,6 +66,9 @@ func TestUptimeOutput(t *testing.T) { Path: "/customlist.gophermap", }) _ = file.Close() + if err != nil { + t.Fatal(err) + } doc, _, err := edoc.Compatible("testdata", FileSystemSettings{ ParseExtended: true, @@ -82,6 +85,9 @@ func TestUptimeOutput(t *testing.T) { expected, err := io.ReadAll(file) _ = file.Close() + if err != nil { + t.Fatal(err) + } if string(expected) != got { fmt.Printf("expected:\n%s", string(expected)) -- cgit v1.2.3