Skip to content

Commit

Permalink
Fix validator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sadlil authored and tamalsaha committed Aug 27, 2017
1 parent 34088b3 commit 75af788
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/validator_test.go
Expand Up @@ -12,9 +12,9 @@ import (

func TestIsValid(t *testing.T) {
for k, result := range dataTables {
err := k.IsValid("aws")
if !assert.Equal(t, err == nil, result){
fmt.Println("Failed Tests:", k.Name)
err := k.IsValid("minikube")
if !assert.Equal(t, err == nil, result) {
fmt.Println("Failed Tests:", k.Name, "Reason\n", err)
}
}
}
Expand Down

0 comments on commit 75af788

Please sign in to comment.