comparison tests/data/duplicate-keys.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 top-level duplicate
4
5 %YAML 1.1
6 ---
7
8 top:
9 subkey1: the value
10
11 other:
12 key2: another value
13
14 top:
15 subkey2: the value