# The Norway problem. Under the YAML 1.1 resolver — PyYAML, SnakeYAML's default, Ruby Psych —
# every bare word below on the left of the `unquoted` map resolves to a BOOLEAN. The country
# code for Norway becomes false, `y` and `n` become true and false, and `on`/`off` join them.
# YAML 1.2's core schema resolves only true and false, so most of this stays a string there.
#
# The fix is always the same: quote it. The `quoted` map shows the same values surviving.
unquoted:
  norway: NO
  yes_word: yes
  no_word: no
  on_word: on
  off_word: off
  y_letter: y
  n_letter: n
  true_word: true
  false_word: false
  True_title: True
  OFF_upper: OFF

quoted:
  norway: "NO"
  yes_word: "yes"
  on_word: "on"
  y_letter: "y"

country_codes:
  - GB
  - NO
  - SE
  - FI

expected_note: >-
  Under YAML 1.1 the country_codes list contains a boolean in position two.
  Under YAML 1.2 core it contains four strings.
