(jmesPath string, expected interface{}, msg string)
| 1085 | } |
| 1086 | |
| 1087 | func (s *StepRequestValidation) AssertLengthEqual(jmesPath string, expected interface{}, msg string) *StepRequestValidation { |
| 1088 | v := Validator{ |
| 1089 | Check: jmesPath, |
| 1090 | Assert: "length_equals", |
| 1091 | Expect: expected, |
| 1092 | Message: msg, |
| 1093 | } |
| 1094 | s.step.Validators = append(s.step.Validators, v) |
| 1095 | return s |
| 1096 | } |
| 1097 | |
| 1098 | func (s *StepRequestValidation) AssertContainedBy(jmesPath string, expected interface{}, msg string) *StepRequestValidation { |
| 1099 | v := Validator{ |
no outgoing calls