func TestValidateValid(t *testing.T) {

	// initialize a valid cheatpath
	cheatpath := Cheatpath{
		Name:     "foo",
		Path:     "/foo",
		ReadOnly: false,
		Tags:     []string{},
	}

	// assert that no errors are returned
	if err := cheatpath.Validate(); err != nil {
		t.Errorf("failed to validate valid cheatpath: %v", err)
	}
}
// TestValidateValid asserts that valid cheatpaths validate successfully
TestValidateValid asserts that valid cheatpaths validate successfully
// TestValidateValid asserts that valid cheatpaths validate successfully
func TestValidateValid(t *testing.T) {
	cheatpath := Cheatpath{
		Name:     "foo",
		Path:     "/foo",
		ReadOnly: false,
		Tags:     []string{},
	}
	if err := cheatpath.Validate(); err != nil {
		t.Errorf("failed to validate valid cheatpath: %v", err)
	}
}
func TestValidateValid ( t * testing . T ) { cheatpath := Cheatpath { Name : " " , Path : " " , ReadOnly : false , Tags : [ ] string { } , } if err := cheatpath . Validate ( ) ; err != nil { t . Errorf ( " " , err ) } }
TestValidateValid asserts that valid cheatpaths validate successfully
TestValidateValid asserts that valid cheatpaths validate successfully
// initialize a valid cheatpath // assert that no errors are returned