summary refs log tree commit diff
path: root/lib/tests.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2016-12-06 23:19:34 +0100
committerGitHub <noreply@github.com>2016-12-06 23:19:34 +0100
commit271c0f54518a8e5798cf7b27d99947c64998659e (patch)
tree1008e9d56e89d272079c18bfaeb17cf1f12e28a2 /lib/tests.nix
parent80f2e535b35c5d099ade15aa5c74bf0736e54919 (diff)
downloadnixpkgs-271c0f54518a8e5798cf7b27d99947c64998659e.tar
nixpkgs-271c0f54518a8e5798cf7b27d99947c64998659e.tar.gz
nixpkgs-271c0f54518a8e5798cf7b27d99947c64998659e.tar.bz2
nixpkgs-271c0f54518a8e5798cf7b27d99947c64998659e.tar.lz
nixpkgs-271c0f54518a8e5798cf7b27d99947c64998659e.tar.xz
nixpkgs-271c0f54518a8e5798cf7b27d99947c64998659e.tar.zst
nixpkgs-271c0f54518a8e5798cf7b27d99947c64998659e.zip
lib/generators: mkKeyValueLine -> mkKeyValueLine (#20920)
Rename, since the previous name was potentially confusing.
Diffstat (limited to 'lib/tests.nix')
-rw-r--r--lib/tests.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tests.nix b/lib/tests.nix
index afbaf11a7f7..d33e3a824e3 100644
--- a/lib/tests.nix
+++ b/lib/tests.nix
@@ -135,8 +135,8 @@ runTests {
   # these tests assume attributes are converted to lists
   # in alphabetical order
 
-  testMkKeyValueLine = {
-    expr = generators.mkKeyValueLine ":" "f:oo" "bar";
+  testMkKeyValueDefault = {
+    expr = generators.mkKeyValueDefault ":" "f:oo" "bar";
     expected = ''f\:oo:bar'';
   };