From 4870143a314eb0f2afcd8bf50bd3e1b1ad05e25b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Kr=C3=BCger?= Date: Sun, 29 Dec 2024 12:55:57 +0100 Subject: [PATCH] fix(commands): fix graph test being inverted --- src/lib/commands/src/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/commands/src/tests.rs b/src/lib/commands/src/tests.rs index 4ad2c7b9..24287bef 100644 --- a/src/lib/commands/src/tests.rs +++ b/src/lib/commands/src/tests.rs @@ -140,6 +140,6 @@ async fn graph_test() { assert_eq!(literal_node.node_type(), CommandNodeType::Literal); assert_eq!(arg_node.node_type(), CommandNodeType::Argument); - assert!(!arg_node.is_executable()); - assert!(literal_node.is_executable()); + assert!(arg_node.is_executable()); + assert!(!literal_node.is_executable()); }