Loading lib/tests/misc.nix +7 −5 Original line number Diff line number Diff line Loading @@ -233,11 +233,6 @@ runTests { ]; }; testFix = { expr = fix (x: {a = if x ? a then "a" else "b";}); expected = {a = "a";}; }; testComposeExtensions = { expr = let obj = makeExtensible (self: { foo = self.bar; }); f = self: super: { bar = false; baz = true; }; Loading Loading @@ -1237,6 +1232,13 @@ runTests { attrsToList { someFunc= a: a + 1;} ); # FIXED-POINTS testFix = { expr = fix (x: {a = if x ? a then "a" else "b";}); expected = {a = "a";}; }; # GENERATORS # these tests assume attributes are converted to lists # in alphabetical order Loading Loading
lib/tests/misc.nix +7 −5 Original line number Diff line number Diff line Loading @@ -233,11 +233,6 @@ runTests { ]; }; testFix = { expr = fix (x: {a = if x ? a then "a" else "b";}); expected = {a = "a";}; }; testComposeExtensions = { expr = let obj = makeExtensible (self: { foo = self.bar; }); f = self: super: { bar = false; baz = true; }; Loading Loading @@ -1237,6 +1232,13 @@ runTests { attrsToList { someFunc= a: a + 1;} ); # FIXED-POINTS testFix = { expr = fix (x: {a = if x ? a then "a" else "b";}); expected = {a = "a";}; }; # GENERATORS # these tests assume attributes are converted to lists # in alphabetical order Loading