Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
djelusic committed Oct 22, 2021
1 parent 260cc2c commit bf2f8ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions workspace/validate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ func TestValidateName(t *testing.T) {
errorType: nil,
},
{
input: "some-very-long-name",
errorType: &ErrNameTooLong{},
input: "name_123",
errorType: nil,
},
{
input: "name_123",
errorType: &ErrForbiddenCharacters{},
input: "some-very-long-name",
errorType: &ErrNameTooLong{},
},
{
input: "neko-dugačko-ime",
Expand Down

0 comments on commit bf2f8ec

Please sign in to comment.