From e932e98437ea9184365233bad439860c795f65a1 Mon Sep 17 00:00:00 2001 From: "Emil \"AngryAnt\" Johansen" Date: Mon, 27 Mar 2023 17:06:12 +0200 Subject: lib.toPlist: keep test output in external files for their tab indents --- lib/tests/misc.nix | 47 +---------------------------------------------- 1 file changed, 1 insertion(+), 46 deletions(-) (limited to 'lib/tests/misc.nix') diff --git a/lib/tests/misc.nix b/lib/tests/misc.nix index d7173bbf3a3d..2cb8596703fc 100644 --- a/lib/tests/misc.nix +++ b/lib/tests/misc.nix @@ -936,52 +936,7 @@ runTests { }; }; }; - expected = { value = '' - - - - nested - - values - - attrs - - foo b/ar - baz - - bool - - emptyattrs - - - - emptylist - - - - emptystring - - float - 0.133700 - int - 42 - list - - 3 - 4 - test - - newlinestring - - - path - /foo - string - fn''${o}"r\d - - - -''; }; + expected = { value = builtins.readFile ./test-to-plist-expected.plist; }; }; # CLI -- cgit 1.4.1