Mercurial > hgrepos > Python > libs > ConfigMix
diff 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 |
line wrap: on
line diff
--- a/tests/data/quoting.yml Thu May 06 20:55:19 2021 +0200 +++ b/tests/data/quoting.yml Thu May 06 20:55:43 2021 +0200 @@ -5,15 +5,16 @@ %YAML 1.1 --- -':|%.': +'#:|%.': '.': ':': '%': '|': - '/': 'value' + '/': + '#': 'value' events: 'qc-2021.1-5G-summit': name: "5G Summit" - xname: '{{%x3a%x7c%x25%x2e.%u002e.%U0000003a.%x25.%x7c./}}' - xref: '{{ref:#%u003a%x7c%U00000025%x2e.%x2e.%x3a.%x25.%x7c./}}' + xname: '{{%x23%x3a%x7c%x25%x2e.%u002e.%U0000003a.%x25.%x7c./.%x23}}' + xref: '{{ref:#%x23%u003a%x7c%U00000025%x2e.%x2e.%x3a.%x25.%x7c./}}'
