Skip to content

Commit

Permalink
Add test for the specific edge case
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
  • Loading branch information
pierre-emmanuelJ committed May 8, 2024
1 parent cb19a7f commit 1360ab9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/sks_nodepool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ func TestParseSKSNodepoolTaint(t *testing.T) {
expectedTaint: egoscale.SKSNodepoolTaint{Value: "value", Effect: "effect"},
err: nil,
},
{
input: "exoscale.com/key=value:effect",
expectedKey: "exoscale.com/key",
expectedTaint: egoscale.SKSNodepoolTaint{Value: "value", Effect: "effect"},
err: nil,
},
{
input: "key=:effect",

Expand Down

0 comments on commit 1360ab9

Please sign in to comment.