[PR #5062] [MERGED] Replace casting 0 to a pointer with nullptr. #26093

Open
opened 2026-01-31 09:13:52 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/5062
Author: @ghost
Created: 3/21/2020
Status: Merged
Merged: 3/23/2020
Merged by: @carlos-zamora

Base: masterHead: Check


📝 Commits (1)

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 src/host/ut_host/CommandListPopupTests.cpp (+1 -1)
📝 src/host/ut_host/CopyToCharPopupTests.cpp (+2 -2)

📄 Description

Summary of the Pull Request

When I did my last PR that was merged, the PR #4960, there were two more cases I forgot to include, so I included them here, for the sake of consistency and completion

References

PR #4690

PR Checklist

  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed

Detailed Description of the Pull Request / Additional comments

Replacing pointer casts to 0 with nullptr in two tests.

Validation Steps Performed

Manual Testing
Automated Testing


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/5062 **Author:** [@ghost](https://github.com/ghost) **Created:** 3/21/2020 **Status:** ✅ Merged **Merged:** 3/23/2020 **Merged by:** [@carlos-zamora](https://github.com/carlos-zamora) **Base:** `master` ← **Head:** `Check` --- ### 📝 Commits (1) - [`5e73c9e`](https://github.com/microsoft/terminal/commit/5e73c9ec7d1d4ff1d991a9908077225342a6ea1f) More nullptr ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/host/ut_host/CommandListPopupTests.cpp` (+1 -1) 📝 `src/host/ut_host/CopyToCharPopupTests.cpp` (+2 -2) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request When I did my last PR that was merged, the PR #4960, there were two more cases I forgot to include, so I included them here, for the sake of consistency and completion <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References PR #4690 <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [X] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [X] Tests added/passed <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Replacing pointer casts to 0 with nullptr in two tests. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Manual Testing Automated Testing --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:13:52 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#26093