about summary refs log tree commit diff
path: root/lib/tests
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests')
-rw-r--r--lib/tests/misc.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tests/misc.nix b/lib/tests/misc.nix
index 7d38b56bc211f..b066f577f323b 100644
--- a/lib/tests/misc.nix
+++ b/lib/tests/misc.nix
@@ -102,13 +102,13 @@ runTests {
     expected = 9;
   };
 
-  testToHex = {
-    expr = toHex 250;
+  testToHexString = {
+    expr = toHexString 250;
     expected = "FA";
   };
 
-  testToBase = {
-    expr = toBase 2 6;
+  testToBaseDigits = {
+    expr = toBaseDigits 2 6;
     expected = [ 1 1 0 ];
   };