(jmesPath string, expected interface{}, msg string)
| 1030 | } |
| 1031 | |
| 1032 | func (s *StepRequestValidation) AssertContains(jmesPath string, expected interface{}, msg string) *StepRequestValidation { |
| 1033 | v := Validator{ |
| 1034 | Check: jmesPath, |
| 1035 | Assert: "contains", |
| 1036 | Expect: expected, |
| 1037 | Message: msg, |
| 1038 | } |
| 1039 | s.step.Validators = append(s.step.Validators, v) |
| 1040 | return s |
| 1041 | } |
| 1042 | |
| 1043 | func (s *StepRequestValidation) AssertTypeMatch(jmesPath string, expected interface{}, msg string) *StepRequestValidation { |
| 1044 | v := Validator{ |
no outgoing calls