summary refs log tree commit diff
path: root/pkgs/lib/debug.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-08-13 18:08:35 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-08-13 18:08:35 -0400
commit37159c1b9a0ec77306866c539fbcd7b0e230f2d9 (patch)
tree4bc7b3ce91ffdca4db75967fecb574848d12261f /pkgs/lib/debug.nix
parent503b4fd5bfd2a516ebd61870d2e09970b56ff41a (diff)
downloadnixpkgs-37159c1b9a0ec77306866c539fbcd7b0e230f2d9.tar
nixpkgs-37159c1b9a0ec77306866c539fbcd7b0e230f2d9.tar.gz
nixpkgs-37159c1b9a0ec77306866c539fbcd7b0e230f2d9.tar.bz2
nixpkgs-37159c1b9a0ec77306866c539fbcd7b0e230f2d9.tar.lz
nixpkgs-37159c1b9a0ec77306866c539fbcd7b0e230f2d9.tar.xz
nixpkgs-37159c1b9a0ec77306866c539fbcd7b0e230f2d9.tar.zst
nixpkgs-37159c1b9a0ec77306866c539fbcd7b0e230f2d9.zip
Remove obsolete eqStrict function
Use the "==" operator instead.
Diffstat (limited to 'pkgs/lib/debug.nix')
-rw-r--r--pkgs/lib/debug.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/lib/debug.nix b/pkgs/lib/debug.nix
index e452151add6..b78f946c5d4 100644
--- a/pkgs/lib/debug.nix
+++ b/pkgs/lib/debug.nix
@@ -66,7 +66,7 @@ rec {
     let testsToRun = if tests ? tests then tests.tests else [];
     in if (substring 0 4 name == "test" ||  elem name testsToRun)
        && ((testsToRun == []) || elem name tests.tests)
-       && (!lib.eqStrict test.expr test.expected)
+       && (test.expr != test.expected)
 
       then [ { inherit name; expected = test.expected; result = test.expr; } ]
       else [] ) tests));