From 59040477bc4ae3a583b698d31630c3eb42843274 Mon Sep 17 00:00:00 2001 From: Austreelis Date: Wed, 18 Sep 2024 17:39:23 +0200 Subject: [PATCH] fix(lib): swapped entries in test dag.sort.topological."sorts a graph" --- lib/src/dag/default.test.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/dag/default.test.nix b/lib/src/dag/default.test.nix index 5c13cd9..62453e0 100644 --- a/lib/src/dag/default.test.nix +++ b/lib/src/dag/default.test.nix @@ -149,7 +149,7 @@ in ]; actual = lib.dag.sort.topological { a = lib.dag.entry.anywhere "a"; - b = lib.dag.entry.between [ "c" ] [ "a" ] "b"; + b = lib.dag.entry.between [ "a" ] [ "c" ] "b"; c = lib.dag.entry.before [ "c" ] "c"; d = lib.dag.entry.after [ "c" ] "d"; };