diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-24 17:08:45 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-04-24 17:13:24 -0300 |
commit | 079b2bb3ed1561b1953139a03a31b37c9da868c4 (patch) | |
tree | 8f538f293200e4b5aaa3df4b6c52fb8096273dd0 /test/snapshot/linkArtist.js | |
parent | dd03642fc38be775b8f79940334f4e4ba2343638 (diff) |
data: withReverse{Reference,Contribution}List: better exiting
An existing test for withAlbum (which is semi-newly based on withUniqueReferencingThing, and thus withReverseReferenceList) indicates that if we just can't *find* the album in a provided data array, that's not an exit condition. This commit adapts withReverseReferencingList to respect that when the data list is empty. (Treating an empty array as the same thing as an array that isn't provided at all - the existing behavior - is really just a bug!)
Diffstat (limited to 'test/snapshot/linkArtist.js')
0 files changed, 0 insertions, 0 deletions