diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-10-07 17:43:26 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-10-07 17:43:26 +0100 |
commit | aed0c1c5ababe8b44ac8f88ef423b641c0c6ec4f (patch) | |
tree | dcdc35f85e95dce57fbcb32ec6c7cfbaa32b876c /GNUmakefile | |
parent | d08ddc1f4a1c6d93342bd8efd69c837782656f1f (diff) | |
download | prosody-aed0c1c5ababe8b44ac8f88ef423b641c0c6ec4f.tar.gz prosody-aed0c1c5ababe8b44ac8f88ef423b641c0c6ec4f.zip |
util.promise: Remove some redundant checks, add tests confirming redundancy
This lines don't appear to do anything useful, and all tests pass when they
are removed. Discovered via mutation testing.
I added extra tests to exercise this code, because I wasn't certain that there
were no side-effects caused by removal. Everything appears to be fine, thanks
to the "pending" check at the start of promise_settle().
Diffstat (limited to 'GNUmakefile')
0 files changed, 0 insertions, 0 deletions