mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
16 lines
259 B
Go
16 lines
259 B
Go
package fs
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestSymlinksSupported(t *testing.T) {
|
|
t.Run("TempDir", func(t *testing.T) {
|
|
ok, err := SymlinksSupported(os.TempDir())
|
|
assert.NoError(t, err)
|
|
assert.True(t, ok)
|
|
})
|
|
}
|