0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

lib/generators.toPretty: Only quote attribute names if necessary

This commit is contained in:
Silvan Mosberger 2020-09-04 17:19:55 +02:00
parent f3bf0f173e
commit 0f6231702f
No known key found for this signature in database
GPG key ID: E8F1E9EAD284E17D
2 changed files with 2 additions and 2 deletions

View file

@ -469,7 +469,7 @@ runTests {
function = "<λ>";
functionArgs = "<λ:{(arg),foo}>";
list = "[ 3 4 ${function} [ false ] ]";
attrs = "{ \"foo\" = null; \"foo bar\" = \"baz\"; }";
attrs = "{ foo = null; \"foo bar\" = \"baz\"; }";
drv = "<δ:test>";
};
};