Mercurial > hgrepos > Python > libs > ConfigMix
comparison tests/data/quoting.yml @ 320:98490375d90c
Allow variable name quoting to be used in .getvar() and .getvar_s() and references
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 06 May 2021 09:45:51 +0200 |
| parents | |
| children | ab33d51f3412 |
comparison
equal
deleted
inserted
replaced
| 319:5427ca342c1e | 320:98490375d90c |
|---|---|
| 1 # -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*- | |
| 2 # | |
| 3 # For quoting and unquoting tests | |
| 4 # | |
| 5 %YAML 1.1 | |
| 6 --- | |
| 7 | |
| 8 ':|%.': | |
| 9 '.': | |
| 10 ':': | |
| 11 '%': | |
| 12 '|': | |
| 13 '/': 'value' | |
| 14 | |
| 15 events: | |
| 16 'qc-2021.1-5G-summit': | |
| 17 name: "5G Summit" | |
| 18 xname: '{{%x3a%x7c%x25%x2e.%u002e.%U0000003a.%x25.%x7c./}}' | |
| 19 xref: '{{ref:#%u003a%x7c%U00000025%x2e.%x2e.%x3a.%x25.%x7c./}}' |
