8 Commits

Author SHA1 Message Date
Michael Vogt
277eb06412 many: replace use of "sanity" with more inclusive naming
This commit replaces the use of "sanity" with more inclusive
naming.

When `sanity` is used in a more general sense either `validity`
or `quick` is used.
2022-03-14 18:22:34 +01:00
Alberto Mardegan
37e83765f3 asserts: fix errors reported by linter
Besides some trivial fixes, this also adds the (previously unused) class
`isUnacceptedUpdateSuite` to the tests suite.
2021-05-05 10:16:20 +03:00
Samuele Pedroni
4a509e7846 support for maps in assertion, tidier regexp for validating header names and now map keys 2016-09-21 20:10:12 +02:00
Samuele Pedroni
75fe11eb89 add some stricter checks around assertion formt (text bodies, no repeaed headers) 2016-08-25 11:36:59 +02:00
Samuele Pedroni
5dc6c90566 review feedback 2016-07-28 08:21:08 +02:00
Samuele Pedroni
b54d21be4c use new parseHeaders, start supporting structured headers (switch from map[string]string to map[string]interface{} except when querying for now), fix/adapt tests 2016-07-27 15:22:36 +02:00
Samuele Pedroni
7e1b767072 fix nesting rules, tweaks, test/try to improve specific errors 2016-07-26 13:26:34 +02:00
Samuele Pedroni
20284be3b6 introduce new parseHeaders returing map[string]interface{} and capable of accepting the new indentation based lists and adapt multiline text blocks 2016-07-25 17:11:41 +02:00