• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-playground / validator / 18640012428 / 1
74%
v8: 100%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: v8
Ran 20 Oct 2025 02:15AM UTC
Files 34
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Oct 2025 02:14AM UTC coverage: 73.73%. Remained the same
18640012428.1

push

github

web-flow
Fix integer overflows in test when run on 32bit systems (#1479)

## Fixes Or Enhances

While 32bit systems are becoming rarer, Debian still fully supports
`armhf`. On such systems, `TestLuhnChecksumValidation` fails because
some of the integer values overflow without an explicit cast to `int64`.

```
# github.com/go-playground/validator/v10 [github.com/go-playground/validator/v10.test]
./validator_test.go:13914:4: cannot use 586824160825533338 (untyped int constant) as int value in struct literal (overflows)
./validator_test.go:13917:4: cannot use 586824160825533328 (untyped int constant) as int value in struct literal (overflows)
./validator_test.go:13919:4: cannot use 10000000116 (untyped int constant) as int value in struct literal (overflows)
./validator_test.go:13921:4: cannot use 10000000117 (untyped int constant) as int value in struct literal (overflows)
```

**Make sure that you've checked the boxes below before you submit PR:**
- [x] Tests exist or have been written that cover this particular
change.

@go-playground/validator-maintainers

Signed-off-by: Mathias Gibbens <gibmat@debian.org>

14373 of 19494 relevant lines covered (73.73%)

79.11 hits per line

Source Files on job 18640012428.1
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 18640012428
  • 6a38036e on github
  • Prev Job for on master (#18484759620.1)
  • Next Job for on master (#19255261682.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc