Skip to content

Commit

Permalink
Fix typo in validations_test.go (taiidani#59)
Browse files Browse the repository at this point in the history
Incorrect method was being called, i.e. not the one we are testing.

Co-authored-by: Ryan Nixon <r.taiidani@gmail.com>
  • Loading branch information
zahiar and taiidani committed Aug 21, 2021
1 parent bf7747c commit 3730a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins/validations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestValidateJobName(t *testing.T) {

// Test if we fail when we should
input = "job_name/second_level"
actual = validateCredentialScope(input, ctyPath)
actual = validateJobName(input, ctyPath)
if !actual.HasError() {
t.Errorf("Error, validation failed for input: %s", input)
}
Expand Down

0 comments on commit 3730a01

Please sign in to comment.