diff options
author | Silvan Mosberger <contact@infinisil.com> | 2020-09-04 17:19:55 +0200 |
---|---|---|
committer | Silvan Mosberger <contact@infinisil.com> | 2020-09-17 18:20:08 +0200 |
commit | 0f6231702fc1ccde0130bcbf297ff415d17b06d8 (patch) | |
tree | b616eaf1967fdd8093fd864fbd38f4190368d7b9 /lib/tests | |
parent | f3bf0f173ec9b302c2613dfb6d76dc49b889f321 (diff) |
lib/generators.toPretty: Only quote attribute names if necessary
Diffstat (limited to 'lib/tests')
-rw-r--r-- | lib/tests/misc.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tests/misc.nix b/lib/tests/misc.nix index b066f577f323..7d7380e8b74b 100644 --- a/lib/tests/misc.nix +++ b/lib/tests/misc.nix @@ -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>"; }; }; |