File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -101,11 +101,6 @@ commandInfo is CmdletInfo ||
101
101
private string GetAdjustedTypename ( Type t , bool simplify = false )
102
102
{
103
103
string tName = simplify ? LanguagePrimitives . ConvertTo < string > ( t ) : t . FullName ;
104
- if ( tName . EndsWith ( "[]" ) )
105
- {
106
- tName = FixUpTypeName ( tName ) ;
107
- }
108
-
109
104
return tName ;
110
105
}
111
106
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ Describe "New-CommandHelp tests" {
175
175
It " Should have the input type '<type>'" - TestCases @ (
176
176
@ { Type = " System.Management.Automation.CommandTypes" }
177
177
@ { Type = " System.Int32" }
178
- @ { Type = " Microsoft.PowerShell.Commands.ModuleSpecification" }
178
+ @ { Type = " Microsoft.PowerShell.Commands.ModuleSpecification[] " }
179
179
@ { Type = " System.String" }
180
180
@ { Type = " System.Management.Automation.SwitchParameter" }
181
181
) {
You can’t perform that action at this time.
0 commit comments