package main import "testing" func TestNewConfiguration(t *testing.T) { command, _, _ := NewConfiguration() if command.Name == "test" { t.Errorf("Command name was incorrect, got: %s, want: %d.", command.Name, 10) } }