GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||
GeezerVison is showing github.com — Fix ConvertTo-Json test by xtqqczze · Pull Request #8645 · PowerShell/PowerShell Conversation
|
| else | ||
| { | ||
| TypeInfo t = obj.GetType().GetTypeInfo(); | ||
| WriteVerbose(StringUtil.Format(UtilityCommonStrings.ConvertToJsonProcessValueVerboseMessage, t.Name, depth)); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem like the right fix to me. The verbose message was removed for a reason. If a test depended on the verbose message, then it (the test) should be removed or re-written.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Yes, the test could be rewritten not to depend on the verbose output. This could be part of WIP #8593 . This PR fixes the test before further changes.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
You can just temporarily disable the test until #8593 is complete. It seems wrong to revert a previously approved change without good cause.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It may be best to use an InternalTestHook to get the cmdlet to write the VerboseMessage if the message is not useful outside of the test
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| else | ||
| { | ||
| TypeInfo t = obj.GetType().GetTypeInfo(); | ||
| WriteVerbose(StringUtil.Format(UtilityCommonStrings.ConvertToJsonProcessValueVerboseMessage, t.Name, depth)); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It may be best to use an InternalTestHook to get the cmdlet to write the VerboseMessage if the message is not useful outside of the test
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This PR has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs within 10 days. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This PR has been automatically closed because it is stale. If you wish to continue working on the PR, please first update the PR, then reopen it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Test marked as pending in #9458 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.