[Git][wine/wine][master] 2 commits: scrrun/tests: Add tests for dictionary put_Key.
Alexandre Julliard pushed to branch master at wine / wine Commits: b1a32bc1 by Francis De Brabandere at 2026-06-01T10:39:28+02:00 scrrun/tests: Add tests for dictionary put_Key. Renaming a key should preserve its enumeration position and its value, fail with element-not-found when the source key is absent, and fail with key-already-exists when the target key is taken. - - - - - badc2287 by Francis De Brabandere at 2026-06-01T10:39:28+02:00 scrrun/dictionary: Rename keys in place in put_Key. put_Key implemented a rename as an Add of the new key followed by a Remove of the old one, which moved the renamed key to the end of the enumeration order and, when the source key was absent, silently created a new entry. Rename the existing pair in place instead, preserving its position, and return CTL_E_ELEMENT_NOT_FOUND when the source key does not exist. - - - - - 2 changed files: - dlls/scrrun/dictionary.c - dlls/scrrun/tests/dictionary.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/9f5f5c51684e0fa755ec8e471b1350... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/9f5f5c51684e0fa755ec8e471b1350... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help
participants (1)
-
Alexandre Julliard (@julliard)