refactor: rename TestClassifyCommand_BackslashPath to TestClassifyCommand_DeepPath for clarity

Signed-off-by: Boris Bliznioukov <blib@mail.com>
This commit is contained in:
Boris Bliznioukov 2026-03-06 16:50:57 +01:00
parent f0c6727fcc
commit 1a28887f9a
No known key found for this signature in database

View file

@ -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. // Forward-slash paths at various depths.
got := ClassifyCommand([]string{"/usr/sbin/shutdown", "-h"}, nil) got := ClassifyCommand([]string{"/usr/sbin/shutdown", "-h"}, nil)
if got != RiskCritical { if got != RiskCritical {