refactor: rename TestClassifyCommand_BackslashPath to TestClassifyCommand_DeepPath for clarity
Signed-off-by: Boris Bliznioukov <blib@mail.com>
This commit is contained in:
parent
f0c6727fcc
commit
1a28887f9a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue