| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This does not appear to be validating the format. Please correct the comment.
Sorry, something went wrong.
There was a problem hiding this comment.
Fixed.
Sorry, something went wrong.
There was a problem hiding this comment.
We can remove IgnoreCase = true - it is by default.
Sorry, something went wrong.
There was a problem hiding this comment.
Fixed.
Sorry, something went wrong.
There was a problem hiding this comment.
Since we have tab completion now, should they be spelled out? CommaSeperatedValues, TabSeperatedValues and BinaryLog?
Sorry, something went wrong.
There was a problem hiding this comment.
Had a chat with Jim. It is ok to keep them as is. Please open an issue on https://github.com/PowerShell/PowerShell-Docs/blob/staging/reference/5.1/Microsoft.PowerShell.Diagnostics/Export-Counter.md to explain what they mean.
Sorry, something went wrong.
There was a problem hiding this comment.
The file types are explained in the 'Description' section of the documentation. Did you want them in the 'Parameter' section as well?
Sorry, something went wrong.
There was a problem hiding this comment.
Maria Romero (@MiaRomero) Yes, please add them to the parameters section as well.
Sorry, something went wrong.
There was a problem hiding this comment.
I've opened issue MicrosoftDocs/PowerShell-Docs#1245 for this
Sorry, something went wrong.
There was a problem hiding this comment.
I think this test is not needed as it does not hit any code in the cmdlet. It hits Parameter Validation code paths.
Sorry, something went wrong.
There was a problem hiding this comment.
Removed test case
Sorry, something went wrong.
There was a problem hiding this comment.
This line seems unnecessary.
Sorry, something went wrong.
There was a problem hiding this comment.
Removed line 314
Sorry, something went wrong.
There was a problem hiding this comment.
Please update comment, SetOuputFormat does not do any validation anymore.
Sorry, something went wrong.
There was a problem hiding this comment.
Updated comment
Sorry, something went wrong.
|
Maria Romero (@MiaRomero) Please make your membership in the Microsoft Organization public. I sent instructions offline. #Resolved |
Sorry, something went wrong.
There was a problem hiding this comment.
#resolved
Sorry, something went wrong.
Please address @adityapatwardhan 's comments
|
Maria Romero (@MiaRomero) What is the status of this PR? |
Sorry, something went wrong.
There was a problem hiding this comment.
please add a test case to TabCompletion.Tests.ps1
Sorry, something went wrong.
|
Hi Travis Plunk (@TravisEz13), |
Sorry, something went wrong.
There was a problem hiding this comment.
We try to avoid Should Be $true because it is difficult to understand what went wrong just reading the logs.
In this specific case, I would instead use:
$res.CompletionMatches.CompletionText -join ' ' | Should Be 'blg csv tsv'
Sorry, something went wrong.
There was a problem hiding this comment.
There might be a problem with the element's order.
We can use the auxiliary output
Sorry, something went wrong.
There was a problem hiding this comment.
If order is a concern, pipe to sort first. But in this case, if order is not preserved, I would call that a bug.
Sorry, something went wrong.
There was a problem hiding this comment.
Jason Shirk (@lzybkr) , thank you, I've made the change. Is it appropriate to go ahead and fix the other test cases in this file that use the same pattern? Or is that a separate issue/PR?
Sorry, something went wrong.
There was a problem hiding this comment.
If you see the pattern in other files, then maybe a new PR, otherwise this PR is fine.
Sorry, something went wrong.
There was a problem hiding this comment.
Maria Romero (@MiaRomero) Yes, please add them to the parameters section as well.
Sorry, something went wrong.
|
I pinged Maria Romero (@MiaRomero) about updating her profile in order to get the PR merged. |
Sorry, something went wrong.
|
Travis Plunk (@TravisEz13) thanks for the link, updated my profile. |
Sorry, something went wrong.
…ll#3856) * add tab completion for -FileFormat parameter * update expected error for invalid -FileFormat test case
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.