1
mirror of https://github.com/rclone/rclone synced 2024-11-26 04:07:22 +01:00

Fix broken flag type tests

Introduced in fc1bf5f931
This commit is contained in:
Nick Craig-Wood 2019-02-07 16:42:26 +00:00
parent fc1bf5f931
commit 8ec55ae20b
2 changed files with 2 additions and 2 deletions

View File

@ -54,5 +54,5 @@ func TestDumpFlagsSet(t *testing.T) {
func TestDumpFlagsType(t *testing.T) { func TestDumpFlagsType(t *testing.T) {
f := DumpFlags(0) f := DumpFlags(0)
assert.Equal(t, "string", f.Type()) assert.Equal(t, "DumpFlags", f.Type())
} }

View File

@ -42,7 +42,7 @@ func TestCacheModeSet(t *testing.T) {
func TestCacheModeType(t *testing.T) { func TestCacheModeType(t *testing.T) {
var m CacheMode var m CacheMode
assert.Equal(t, "string", m.Type()) assert.Equal(t, "CacheMode", m.Type())
} }
// convert c.item to a string // convert c.item to a string