Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(chocolatey#1762) Add test for new enhanced exit code
Now, when you have useEnhancedExitCodes turned on, if you try to set a pin on a package, that is already set, the exit code will change to be a 2, giving a clear indication that no action was taken. This commit adds a Pester test to verify that this works as expected.
- Loading branch information