about summary refs log tree commit diff
path: root/users/sterni/nix/flow
diff options
context:
space:
mode:
Diffstat (limited to 'users/sterni/nix/flow')
-rw-r--r--users/sterni/nix/flow/default.nix2
-rw-r--r--users/sterni/nix/flow/tests/default.nix10
2 files changed, 0 insertions, 12 deletions
diff --git a/users/sterni/nix/flow/default.nix b/users/sterni/nix/flow/default.nix
index 838e65bfb20e..a9fe3c673532 100644
--- a/users/sterni/nix/flow/default.nix
+++ b/users/sterni/nix/flow/default.nix
@@ -44,11 +44,9 @@ let
   # TODO(sterni): condf or magic
   # like <nixpkgs/pkgs/build-support/coq/extra-lib.nix>
 
-  match = val: matcher: matcher."${val}";
 
 in {
   inherit
     cond
-    match
     ;
 }
diff --git a/users/sterni/nix/flow/tests/default.nix b/users/sterni/nix/flow/tests/default.nix
index 0bec4a3bd779..54cea01858e7 100644
--- a/users/sterni/nix/flow/tests/default.nix
+++ b/users/sterni/nix/flow/tests/default.nix
@@ -33,17 +33,7 @@ let
       ]))
   ];
 
-  testMatch = it "tests match" [
-    (assertEq "basic match usage" 42
-      (match "answer" {
-        "answer" = 42;
-        "banana" = dontEval;
-        "maleur" = dontEval;
-      }))
-  ];
-
 in
   runTestsuite "nix.flow" [
     testCond
-    testMatch
   ]