add small and useless test

This commit is contained in:
Héctor Giménez
2023-03-12 19:42:13 +09:00
parent 66dd506ba7
commit 09886b92ac
4 changed files with 48 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ func ParseNIPFile(filePath string) ([]Rule, error) {
rules := make([]Rule, 0)
for fileScanner.Scan() {
rule, err := parseLine(fileScanner.Text())
rule, err := ParseLine(fileScanner.Text())
if errors.Is(err, errEmptyLine) {
continue
}