Skip to content

Commit

Permalink
Fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirianni committed Nov 19, 2024
1 parent 40b6f30 commit 3250e49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/action/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,25 @@ func Test_extractName(t *testing.T) {
{
name: "Config name with -",
input: "progress rollout test-name",
found: false,
found: true,
expected: "test-name",
},
{
name: "Config name with - .",
input: "progress rollout test-.name",
found: false,
found: true,
expected: "test-.name",
},
{
name: "Config name with .",
input: "progress rollout test.name",
found: false,
found: true,
expected: "test.name",
},
{
name: "Config name with _",
input: "progress rollout test_name",
found: false,
found: true,
expected: "test_name",
},
}
Expand Down

0 comments on commit 3250e49

Please sign in to comment.