This commit is contained in:
@@ -10,6 +10,12 @@ import (
|
||||
func CheckResults(testCase *TestCase) (bool, error) {
|
||||
|
||||
// Check headers
|
||||
result, err := HeaderContains(testCase)
|
||||
|
||||
return result, err
|
||||
}
|
||||
|
||||
func HeaderContains(testCase *TestCase) (bool, error) {
|
||||
for k, v := range testCase.Expect.Header.Contains {
|
||||
fmt.Printf("Header contains check '%s'='%s'\n", k, v)
|
||||
|
||||
|
Reference in New Issue
Block a user