diff tests/data/index-access-for-jails.yml @ 659:b97e5f3bbc8e

Test indexed list access in variable interpolations: ok. Also drop an extra note into the documentation.
author Franz Glasner <f.glasner@feldmann-mg.com>
date Mon, 30 May 2022 14:08:40 +0200
parents 64cf6710c0db
children
line wrap: on
line diff
--- a/tests/data/index-access-for-jails.yml	Mon May 30 13:23:53 2022 +0200
+++ b/tests/data/index-access-for-jails.yml	Mon May 30 14:08:40 2022 +0200
@@ -9,3 +9,6 @@
   - entry: 0
   - entry: 1
   - entry: 2
+
+expand-me: '{{the-list.~1~.entry}}'
+expand-me-2: '{{the-list.~-1~.entry}}'