Skip to content

Commit ae9d338

Browse files
committed
feat: add kpp signature
1 parent 22191c4 commit ae9d338

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

validator.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,7 @@ func ValidateOGRNIP(ogrnip string) (bool, error) {
7878
func ValidateSNILS(snils string) (bool, error) {
7979
return false, nil
8080
}
81+
82+
func ValidateKPP(kpp string) (bool, error) {
83+
return false, nil
84+
}

validator_test.go

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ func TestValidateINN(t *testing.T) {
2828
testCases := []TestINNCase{
2929
TestINNCase{
3030
INN: "12345678",
31-
Error: errInvalidLength,
31+
Error: errInvalidINNLength,
3232
IsValid: false,
3333
},
3434
TestINNCase{
3535
INN: "9876543211123",
36-
Error: errInvalidLength,
36+
Error: errInvalidINNLength,
3737
IsValid: false,
3838
},
3939
TestINNCase{
@@ -113,3 +113,11 @@ func TestValidateSNILS(t *testing.T) {
113113

114114
})
115115
}
116+
117+
func TestValidateKPP(t *testing.T) {
118+
t.Parallel()
119+
120+
t.Run("", func(t *testing.T) {
121+
122+
})
123+
}

0 commit comments

Comments
 (0)