diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/data/quoting.yml	Thu May 06 09:45:51 2021 +0200
@@ -0,0 +1,19 @@
+# -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*-
+#
+# For quoting and unquoting tests
+#
+%YAML 1.1
+---
+
+':|%.':
+  '.':
+    ':':
+      '%':
+        '|':
+          '/': '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./}}'