feat(barcode): 多条码管理(迁移 + GTIN 校验 + 后台/公开 API + 后台 UI) #5
@@ -34,7 +34,7 @@ func TestNormalizeRejects(t *testing.T) {
|
||||
{"", ErrEmpty},
|
||||
{"12ab5678", ErrFormat},
|
||||
{"12345", ErrFormat},
|
||||
{"5449000000997", ErrCheck}, // bad check digit
|
||||
{"5449000000997", ErrCheck}, // bad check digit
|
||||
{"2012345678903", ErrRestricted}, // 20-29 in-store EAN-13
|
||||
{"0212345678909", ErrRestricted}, // 02x variable measure
|
||||
{"212345678909", ErrRestricted}, // UPC number system 2
|
||||
|
||||
Reference in New Issue
Block a user