mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-18 21:14:31 -04:00
test(tracker): fuzz testing of ID collisions and file read/writes
This commit is contained in:
parent
61e7da5dab
commit
9da6c2216c
@ -461,7 +461,7 @@ func (m *Model) fixIDCollisions() {
|
||||
}
|
||||
}
|
||||
if needsFix {
|
||||
m.Alerts().Add("Some units had duplicate IDs, they were fixed", Error)
|
||||
m.Alerts().AddNamed("IDCollision", "Some units had duplicate IDs, they were fixed", Error)
|
||||
for i, instr := range m.d.Song.Patch {
|
||||
for j, unit := range instr.Units {
|
||||
if unit.ID == 0 {
|
||||
|
Reference in New Issue
Block a user