From 8ec55ae20b2de2ddda1b89b9811a1d74cad61f97 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 7 Feb 2019 16:42:26 +0000 Subject: [PATCH] Fix broken flag type tests Introduced in fc1bf5f931ffe001d471cbdee2679ef12c0bdd55 --- fs/dump_test.go | 2 +- vfs/cache_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/dump_test.go b/fs/dump_test.go index 922643353..c3f046055 100644 --- a/fs/dump_test.go +++ b/fs/dump_test.go @@ -54,5 +54,5 @@ func TestDumpFlagsSet(t *testing.T) { func TestDumpFlagsType(t *testing.T) { f := DumpFlags(0) - assert.Equal(t, "string", f.Type()) + assert.Equal(t, "DumpFlags", f.Type()) } diff --git a/vfs/cache_test.go b/vfs/cache_test.go index 11bd9cd73..d502e3bfd 100644 --- a/vfs/cache_test.go +++ b/vfs/cache_test.go @@ -42,7 +42,7 @@ func TestCacheModeSet(t *testing.T) { func TestCacheModeType(t *testing.T) { var m CacheMode - assert.Equal(t, "string", m.Type()) + assert.Equal(t, "CacheMode", m.Type()) } // convert c.item to a string