Mercurial > hgrepos > Python > libs > ConfigMix
comparison tests/data/quoting.yml @ 325:ab33d51f3412
By default quote the "#" character also because it is typically a comment in all the configuration file formats.
Test quoting the "#" also
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 06 May 2021 20:55:43 +0200 |
| parents | 98490375d90c |
| children | 5c2c72d26b63 |
comparison
equal
deleted
inserted
replaced
| 324:87424f4754d1 | 325:ab33d51f3412 |
|---|---|
| 3 # For quoting and unquoting tests | 3 # For quoting and unquoting tests |
| 4 # | 4 # |
| 5 %YAML 1.1 | 5 %YAML 1.1 |
| 6 --- | 6 --- |
| 7 | 7 |
| 8 ':|%.': | 8 '#:|%.': |
| 9 '.': | 9 '.': |
| 10 ':': | 10 ':': |
| 11 '%': | 11 '%': |
| 12 '|': | 12 '|': |
| 13 '/': 'value' | 13 '/': |
| 14 '#': 'value' | |
| 14 | 15 |
| 15 events: | 16 events: |
| 16 'qc-2021.1-5G-summit': | 17 'qc-2021.1-5G-summit': |
| 17 name: "5G Summit" | 18 name: "5G Summit" |
| 18 xname: '{{%x3a%x7c%x25%x2e.%u002e.%U0000003a.%x25.%x7c./}}' | 19 xname: '{{%x23%x3a%x7c%x25%x2e.%u002e.%U0000003a.%x25.%x7c./.%x23}}' |
| 19 xref: '{{ref:#%u003a%x7c%U00000025%x2e.%x2e.%x3a.%x25.%x7c./}}' | 20 xref: '{{ref:#%x23%u003a%x7c%U00000025%x2e.%x2e.%x3a.%x25.%x7c./}}' |
