Loading pkgs/pkgs-lib/tests/formats.nix +5 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ in runBuildTests { ''; }; yamlAtoms = shouldPass { yaml_1_1Atoms = shouldPass { format = formats.yaml {}; input = { null = null; Loading @@ -129,6 +129,8 @@ in runBuildTests { attrs.foo = null; list = [ null null ]; path = ./formats.nix; no = "no"; time = "22:30:00"; }; expected = '' attrs: Loading @@ -138,9 +140,11 @@ in runBuildTests { list: - null - null 'no': 'no' 'null': null path: ${./formats.nix} str: foo time: '22:30:00' 'true': true ''; }; Loading Loading
pkgs/pkgs-lib/tests/formats.nix +5 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ in runBuildTests { ''; }; yamlAtoms = shouldPass { yaml_1_1Atoms = shouldPass { format = formats.yaml {}; input = { null = null; Loading @@ -129,6 +129,8 @@ in runBuildTests { attrs.foo = null; list = [ null null ]; path = ./formats.nix; no = "no"; time = "22:30:00"; }; expected = '' attrs: Loading @@ -138,9 +140,11 @@ in runBuildTests { list: - null - null 'no': 'no' 'null': null path: ${./formats.nix} str: foo time: '22:30:00' 'true': true ''; }; Loading