lib/generators.toPretty: Only quote attribute names if necessary
This commit is contained in:
@@ -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>";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user