Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Fix broken flag type tests

Nick Craig-Wood8ec55ae20b2d
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