NIP parser v2 (#17)

This commit is contained in:
Héctor Giménez
2024-05-05 12:15:08 +09:00
committed by GitHub
parent 0d5c108721
commit bb0ec2555d
28 changed files with 56618 additions and 1385 deletions

View File

@@ -0,0 +1,15 @@
package nip
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestParseNIPFile(t *testing.T) {
path := "mock/rare.nip"
rules, err := ParseNIPFile(path)
assert.NoError(t, err)
assert.NotEmpty(t, rules)
}