Skip to content

Update AppendUnique, PrependUnique unit tests - #4742

Merged
bdbaddog merged 1 commit into
SCons:masterfrom
mwichmann:test/append-with-existing
Jul 14, 2025
Merged

Update AppendUnique, PrependUnique unit tests#4742
bdbaddog merged 1 commit into
SCons:masterfrom
mwichmann:test/append-with-existing

Conversation

@mwichmann

@mwichmann mwichmann commented Jul 7, 2025

Copy link
Copy Markdown
Collaborator

Nitpicking: test the (probably rare) situation where the existing value contained more than one instance of the value being added. This should enshrine the behavior that adding without delete_existing leaves the existing alone (including dupes), while with delete_existing all existing instances of the value being added are removed.

No SCons or doc impacts, test only.

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt and RELEASE.txt (and read the README.rst).
  • I have updated the appropriate documentation

Nitpicking: test the (probably rate) situation where the existing
value contained more than one instance of the value being appended.

Signed-off-by: Mats Wichmann <mats@linux.com>
@mwichmann mwichmann added the testsuite Things that only affect the SCons testing. Do not use just because a PR has tests. label Jul 7, 2025
@bdbaddog bdbaddog changed the title Update AppendUniqque, PrependUnique unit tests Update AppendUnique, PrependUnique unit tests Jul 13, 2025
@bdbaddog
bdbaddog merged commit 94ad058 into SCons:master Jul 14, 2025
9 checks passed
@mwichmann mwichmann added this to 4.10 Jul 14, 2025
@mwichmann mwichmann moved this to Done in 4.10 Jul 14, 2025
@mwichmann mwichmann added this to the NextRelease milestone Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testsuite Things that only affect the SCons testing. Do not use just because a PR has tests.

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants