view tests/data/duplicate-keys-2.yml @ 292:6a044778371a

Some unittests for the new "strict" YAML parsing mode to prevent duplicate keys within a single YAML document
author Franz Glasner <f.glasner@feldmann-mg.com>
date Wed, 10 Feb 2021 15:04:27 +0100
parents
children
line wrap: on
line source

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

# a subordinate duplicate key

%YAML 1.1
---

toplevel-key:
  subkey1: the value

  subkey2: 2nd value

  subkey1: not allowed