purpleidea / mgmt

Next generation distributed, event-driven, parallel config management!
https://purpleidea.com/tags/mgmtconfig/
GNU General Public License v3.0
3.67k stars 315 forks source link

added unit test in pgraph_test.go for GetName function #581

Closed karthiksedoc closed 4 years ago

karthiksedoc commented 4 years ago

Notes:

func TestGetName(t *testing.T) { G, _ := NewGraph("g9") graph := G.GetName() if graph == "" { t.Errorf("Empty graph returned, expecting graph: %v", graph) } }

purpleidea commented 4 years ago

@karthiksedoc So now you've got to go through the "basic" tests ^^ click on the travis link and fix em up.