comparison 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
comparison
equal deleted inserted replaced
291:edf5cc1ffd26 292:6a044778371a
1 # -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*-
2
3 # a subordinate duplicate key
4
5 %YAML 1.1
6 ---
7
8 toplevel-key:
9 subkey1: the value
10
11 subkey2: 2nd value
12
13 subkey1: not allowed