// TestValidateMissingPath asserts that paths that are missing a path fail to
// validate
TestValidateMissingPath asserts that paths that are missing a path fail to
validate
// TestValidateMissingPath asserts that paths that are missing a path fail to // validate
func TestValidateMissingPath(t *testing.T) {
	cheatpath := Cheatpath{
		Name:     "foo",
		ReadOnly: false,
		Tags:     []string{},
	}
	if err := cheatpath.Validate(); err == nil {
		t.Errorf("failed to invalidate cheatpath without path")
	}
}
func TestValidateMissingPath ( t * testing . T ) { cheatpath := Cheatpath { Name : " " , ReadOnly : false , Tags : [ ] string { } , } if err := cheatpath . Validate ( ) ; err == nil { t . Errorf ( " " ) } }
TestValidateMissingPath asserts that paths that are missing a path fail to
validate
TestValidateMissingPath asserts that paths that are missing a path fail to validate
// initialize a valid cheatpath // assert that no errors are returned