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

mlange-42 / ark / 15047475177

15 May 2025 02:22PM CUT coverage: 99.832%. Remained the same
15047475177

Pull #244

github

web-flow
Merge 485972b20 into aa1f422d8
Pull Request #244: Bugfix: Get pointer to table again after extending slice of tables

28 of 28 new or added lines in 3 files covered. (100.0%)

8313 of 8327 relevant lines covered (99.83%)

18519.38 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/ecs/checks.go
1
package ecs
2

3
import "fmt"
4

5
func (s *storage) checkRelationComponent(id ID) {
3,056✔
6
        if !s.registry.IsRelation[id.id] {
3,057✔
7
                panic(fmt.Sprintf("component with ID %d is not a relation component", id.id))
1✔
8
        }
9
}
10

11
func (s *storage) checkRelationTarget(target Entity) {
3,057✔
12
        if !target.IsZero() && !s.entityPool.Alive(target) {
3,058✔
13
                panic("can't use a dead entity as relation target, except for the zero entity")
1✔
14
        }
15
}
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