From 69df1e98f296e87c2ffaaa433f8cceaf6a6e9278 Mon Sep 17 00:00:00 2001 From: Steve Francia Date: Thu, 10 Dec 2015 13:01:07 -0500 Subject: [PATCH] Improve testing output --- afero_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/afero_test.go b/afero_test.go index df05fb7..528689a 100644 --- a/afero_test.go +++ b/afero_test.go @@ -404,13 +404,13 @@ func TestReaddirnames(t *testing.T) { root, err := fs.Open(tDir) if err != nil { - t.Fatal(err) + t.Fatal(fs.Name(), tDir, err) } defer root.Close() namesRoot, err := root.Readdirnames(-1) if err != nil { - t.Fatal(err) + t.Fatal(fs.Name(), namesRoot, err) } sub, err := fs.Open(testSubDir) @@ -421,7 +421,7 @@ func TestReaddirnames(t *testing.T) { namesSub, err := sub.Readdirnames(-1) if err != nil { - t.Fatal(err) + t.Fatal(fs.Name(), namesSub, err) } findNames(fs, t, tDir, testSubDir, namesRoot, namesSub)