--------------------------------------------------------------------------- NewShellModule constructor test ---------------------------------------------------------------------------
(t *testing.T)
| 278 | // --------------------------------------------------------------------------- |
| 279 | |
| 280 | func TestNewShellModule_Name(t *testing.T) { |
| 281 | m := NewShellModule(consts.ModuleNetstat, consts.ModuleNetstat, netstatCommand, netstatResponse) |
| 282 | if m.Name() != consts.ModuleNetstat { |
| 283 | t.Errorf("Name: got %q, want %q", m.Name(), consts.ModuleNetstat) |
| 284 | } |
| 285 | } |
nothing calls this directly
no test coverage detected