Hi, in the table driven tests on page 241 the ListAction test requires args: hosts field but it’s missing.
Suggested fix:
{
name: "ListAction",
args: hosts,
expectedOut: "host1\nhost2\nhost3\n",
initList: true,
actionFn: listAction,
},