Skip to content

Commit ea6d99c

Browse files
authored
Update sifter.bats
1 parent 59a9a64 commit ea6d99c

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

tests/sifter.bats

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
#!/usr/bin/env bats
2-
# Tests for sifter.sh's pure, dependency-free helper functions -
3-
# validate_target, get_ext, get_parent, and classify_ext. These don't
4-
# touch the network or filesystem, so they can be sourced and tested
5-
# directly without root, nmap, gobuster, feroxbuster, or a live target
6-
# (issue G1).
7-
#
82
# Run with: bats tests/sifter.bats
93

104
setup() {
@@ -46,7 +40,6 @@ setup() {
4640
[ "$status" -eq 0 ]
4741
}
4842

49-
# issue B1 regressions - the specific bug the audit report reported live
5043
@test "validate_target rejects a purely numeric string (999999)" {
5144
run validate_target "999999"
5245
[ "$status" -eq 1 ]
@@ -109,7 +102,6 @@ setup() {
109102
[ "$output" = "" ]
110103
}
111104

112-
# issue D1 regressions - the specific bug the audit report reported live
113105
@test "get_ext returns empty for a directory whose name contains a dot" {
114106
run get_ext "/backup.old/"
115107
[ "$output" = "" ]

0 commit comments

Comments
 (0)