mirror of
https://github.com/vsariola/sointu.git
synced 2026-08-16 22:56:58 -04:00
test(tracker): fuzz testing of ID collisions and file read/writes
This commit is contained in:
+1
-1
@@ -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