package command import( "io/fs" "testing" ) func Test_is_executable(t *testing.T) { tests := []struct { name string // description of this test case // Named input parameters for target function. mode fs.FileMode want bool }{ // TODO: Add test cases. } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { got := is_executable(tt.mode) // TODO: update the condition below to compare got with tt.want. if true { t.Errorf("is_executable() = %v, want %v", got, tt.want) } }) } }