mirror of
https://github.com/curl/curl.git
synced 2026-07-31 21:18:04 +03:00
tests: add %AMP macro, use it in two tests
To allow replacing `&` characters in `tests/data/test*` files for
XML-compliance.
Also:
- document `%GT`, `%LT`
Follow-up to de49cc89ab #19470
Closes #19824
This commit is contained in:
parent
0417d323c9
commit
004f41c186
4 changed files with 15 additions and 8 deletions
|
|
@ -88,6 +88,14 @@ lines:
|
|||
%SP - space
|
||||
%TAB - horizontal tab
|
||||
|
||||
## Special characters
|
||||
|
||||
Macros to help keep data files XML-compliant:
|
||||
|
||||
%AMP - Ampersand: `&`
|
||||
%GT - Greater-than sign: `>`
|
||||
%LT - Less-than sign: `<`
|
||||
|
||||
## Insert capped epoch days
|
||||
|
||||
Mostly to test capped cookie expire dates: `%days[NUM]` inserts the number of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue