🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Add missing test case for #1778
Deluan35bec14d4d55
diff --git a/utils/cache/spread_fs_test.go b/utils/cache/spread_fs_test.goindex ac4039866..f635eea89 100644--- a/utils/cache/spread_fs_test.go+++ b/utils/cache/spread_fs_test.go@@ -32,6 +32,11 @@ var _ = Describe("Spread FS", func() {Expect(parts).To(HaveLen(4))Expect(parts[3]).To(HaveLen(40))})+ It("returns the unmodified key if it is a cache file path", func() {+ mapped := fs.KeyMapper("abc")+ Expect(mapped).To(HavePrefix(fs.root))+ Expect(fs.KeyMapper(mapped)).To(Equal(mapped))+ })})Describe("Reload", func() {