fork/gdu
git clone https://git.julia.blue/fork/gdu
9ca5c60
ignore
1package tui 2 3import ( 4"testing" 5 6"github.com/stretchr/testify/assert" 7) 8 9func TestDeleteActionVerbAndActing (t * testing.T ) { 10assert .Equal (t ,"delete" ,ActionDelete .Verb ()) 11assert .Equal (t ,"empty" ,ActionEmpty .Verb ()) 12assert .Equal (t ,"move to trash" ,ActionMoveToTrash .Verb ()) 13assert .Equal (t ,"delete" ,DeleteAction (99 ).Verb ()) 14 15assert .Equal (t ,"deleting" ,ActionDelete .Acting ()) 16assert .Equal (t ,"emptying" ,ActionEmpty .Acting ()) 17assert .Equal (t ,"moving to trash" ,ActionMoveToTrash .Acting ()) 18assert .Equal (t ,"deleting" ,DeleteAction (99 ).Acting ()) 19}