fork/gdu

git clone https://git.julia.blue/fork/gdu

cosmolifeat: move items to XDG trash with D key (#12) (#608)9ca5c60

master
315 B17 linesraw
1//go:build darwin
2
3package remove
4
5import (
6	"testing"
7
8	"github.com/stretchr/testify/assert"
9	"github.com/stretchr/testify/require"
10)
11
12func TestMoveItemToTrashUnsupportedOnDarwin(t *testing.T) {
13	err := MoveItemToTrash(nil, nil)
14
15	require.Error(t, err)
16	assert.Contains(t, err.Error(), "not supported on macOS")
17}