From c9f8ad60c3f02a8e14833a54395584bdc90eef4e Mon Sep 17 00:00:00 2001 From: Justin Hawkins Date: Sun, 10 Oct 2021 13:59:18 +1030 Subject: [PATCH] Add debugging to work out why this is failing on github --- dau_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dau_test.go b/dau_test.go index 8d0f528..a17c3d8 100644 --- a/dau_test.go +++ b/dau_test.go @@ -31,7 +31,7 @@ func TestWatchNewFiles(t *testing.T) { os.Create(fmt.Sprintf("%s%c%s", dir, os.PathSeparator, "b.gif")) files = w.ProcessNewFiles() if len(files) != 1 { - t.Error("was not one file") + t.Errorf("was not one file - got: %v", files) } if files[0] != fmt.Sprintf("%s%c%s", dir, os.PathSeparator, "b.gif") { t.Error("wrong file")