Coverage 100%

This commit is contained in:
Madison Rye Progress
2026-03-18 14:33:57 -07:00
parent 3f1053ea61
commit bbc87afee1
5 changed files with 15 additions and 20 deletions

View File

@ -127,13 +127,7 @@ func (s *State) historyPoint(index int) (Point, int) {
break
}
pX, err := strconv.Atoi(x)
if err != nil {
panic(err)
}
pY, err := strconv.Atoi(y)
if err != nil {
panic(err)
}
pX, _ := strconv.Atoi(x)
pY, _ := strconv.Atoi(y)
return Point{pX, pY}, index
}