test
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2024-01-03 10:48:37 +11:00
parent 683c6d3687
commit d03ce3d465

View File

@@ -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)