From 1a28887f9a4e95bd74a9a9c959832e2a1f801b23 Mon Sep 17 00:00:00 2001 From: Boris Bliznioukov Date: Fri, 6 Mar 2026 16:50:57 +0100 Subject: [PATCH] refactor: rename TestClassifyCommand_BackslashPath to TestClassifyCommand_DeepPath for clarity Signed-off-by: Boris Bliznioukov --- pkg/tools/shell/risk_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tools/shell/risk_test.go b/pkg/tools/shell/risk_test.go index 75366a312..a21def24f 100644 --- a/pkg/tools/shell/risk_test.go +++ b/pkg/tools/shell/risk_test.go @@ -195,7 +195,7 @@ func TestClassifyCommand_FullPath(t *testing.T) { } } -func TestClassifyCommand_BackslashPath(t *testing.T) { +func TestClassifyCommand_DeepPath(t *testing.T) { // Forward-slash paths at various depths. got := ClassifyCommand([]string{"/usr/sbin/shutdown", "-h"}, nil) if got != RiskCritical {