-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix incorrect handling when removing from the end of the triggers …
…array (#1768) * 🎨 Revive the functional test harness and add a regression test for #1699. Test is currently failing, as expected. Signed-off-by: Noah Kantrowitz <noah@coderanger.net> * 🐛 Fix incorrect handling when removing from the end of the triggers array. DeepDerivative considers it fine if the found HPA has extra elements in the array as long as the ones that are there in the computed HPA match the found. In our case, that causes updating the HPA to be skipped if you remove the last trigger (or any number as long as they are at the end). Checking the lengths first is quick and should cover all of these wonky cases. Fixes #1699. Signed-off-by: Noah Kantrowitz <noah@coderanger.net> * 📝 Update CHANGELOG. Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
- Loading branch information
1 parent
13de97f
commit 24dc0a8
Showing
4 changed files
with
146 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters