From 9a7314f28c8361bd60e3fcf704367841f087a0ed Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 24 Feb 2024 21:39:59 +0800 Subject: [PATCH] bahaghari/tests/lib: update hex unit tests --- subprojects/bahaghari/tests/lib/hex.nix | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/subprojects/bahaghari/tests/lib/hex.nix b/subprojects/bahaghari/tests/lib/hex.nix index 50541193..7c20944d 100644 --- a/subprojects/bahaghari/tests/lib/hex.nix +++ b/subprojects/bahaghari/tests/lib/hex.nix @@ -1,19 +1,7 @@ { pkgs, lib }: pkgs.lib.runTests { - # Even though this is basically borrowing from nixpkgs', we still to test - # them for consistency. - testConvertToHex1 = { - expr = lib.hex.toHexString 534; - expected = "216"; - }; - - testConvertToHex2 = { - expr = lib.hex.toHexString 864954; - expected = "D32BA"; - }; - - testConvertToHex3 = { + testToHexString = { expr = lib.hex.toHexString 293454837; expected = "117DC3F5"; };