Skip to content

Commit

Permalink
adding tests for valid string parameters for ct/cp
Browse files Browse the repository at this point in the history
  • Loading branch information
anand-venkatraman committed Jun 3, 2024
1 parent 929b96b commit e732c3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions adapters/pulsepoint/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ func TestInvalidParams(t *testing.T) {
var validParams = []string{
`{"cp":1000, "ct": 2000}`,
`{"cp":1001, "ct": 2001}`,
`{"cp":"1000", "ct": "2000"}`,
`{"cp":"1000", "ct": 2000}`,
`{"cp":1000, "ct": "2000"}`,
`{"cp":1001, "ct": 2001, "cf": "1x1"}`,
}

Expand Down

0 comments on commit e732c3f

Please sign in to comment.