(jmesPath string, expected interface{}, msg string)
| 964 | } |
| 965 | |
| 966 | func (s *StepRequestValidation) AssertEqual(jmesPath string, expected interface{}, msg string) *StepRequestValidation { |
| 967 | v := Validator{ |
| 968 | Check: jmesPath, |
| 969 | Assert: "equals", |
| 970 | Expect: expected, |
| 971 | Message: msg, |
| 972 | } |
| 973 | s.step.Validators = append(s.step.Validators, v) |
| 974 | return s |
| 975 | } |
| 976 | |
| 977 | func (s *StepRequestValidation) AssertGreater(jmesPath string, expected interface{}, msg string) *StepRequestValidation { |
| 978 | v := Validator{ |
no outgoing calls