wip: refactor(config): added new structures
wip: feat(task): renamed structure
This commit is contained in:
+2
-2
@@ -33,11 +33,11 @@ func TestCronV0(t *testing.T) {
|
||||
func TestTasks_List(t *testing.T) {
|
||||
tasks := NewTasks()
|
||||
tasks.services = []wminit.ServiceTask{
|
||||
&Task{
|
||||
&ServiceTask{
|
||||
name: "one",
|
||||
command: []string{"/path/to/executable"},
|
||||
},
|
||||
&Task{
|
||||
&ServiceTask{
|
||||
name: "two",
|
||||
command: []string{"/path/to/executable"},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user