photoprism/pkg/fs/case_test.go
Michael Mayer 02722ab861 Config: Detect case-insensitive file systems
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-12-26 18:06:54 +01:00

16 lines
268 B
Go

package fs
import (
"os"
"testing"
)
func TestCaseInsensitive(t *testing.T) {
t.Run("temp", func(t *testing.T) {
if result, err := CaseInsensitive(os.TempDir()); err != nil {
t.Fatal(err)
} else {
t.Logf("tmp fs case-insensitive: %t", result)
}
})
}