nixpkgs/pkgs/pkgs-lib/tests
lucasew 83514ae7a9 lib.formats.yaml: use well known YAML format
The way `(lib.formats.yaml {}).generate` generates YAML is compliant
because on YAML 1.2 spec JSON is a subset of YAML but it bugs people's
minds and can lead to problems with software that is not compatible with
YAML 1.2.

This commit also changes the test of the generation function. Data
validation/typing remains the same.

See #133802.

Signed-off-by: lucasew <lucas59356@gmail.com>
2021-08-25 14:02:59 +02:00
..
default.nix pkgs-lib: Add tests for formats 2020-07-29 18:08:25 +02:00
formats.nix lib.formats.yaml: use well known YAML format 2021-08-25 14:02:59 +02:00