view tests/data/index-access-for-jails.yml @ 742:220a9ec9ac72

- Docs the the new list merging strategies. Also some more words about merging generally. - One more test about the default of "replacing" lists.
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 29 Oct 2023 17:29:16 +0100
parents b97e5f3bbc8e
children
line wrap: on
line source

# -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*-

# Testing index access in jails: list items are containers

%YAML 1.1
---

the-list:
  - entry: 0
  - entry: 1
  - entry: 2

expand-me: '{{the-list.~1~.entry}}'
expand-me-2: '{{the-list.~-1~.entry}}'