File tree 2 files changed +36
-0
lines changed
src/chocolatey.tests/infrastructure.app/commands
2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,24 @@ public void should_add_short_version_of_password_to_the_option_set()
235
235
{
236
236
optionSet . Contains ( "p" ) . ShouldBeTrue ( ) ;
237
237
}
238
+
239
+ [ Fact ]
240
+ public void should_add_pin_to_the_option_set ( )
241
+ {
242
+ optionSet . Contains ( "pinpackage" ) . ShouldBeTrue ( ) ;
243
+ }
244
+
245
+ [ Fact ]
246
+ public void should_add_long_version_of_pin_to_the_option_set ( )
247
+ {
248
+ optionSet . Contains ( "pin-package" ) . ShouldBeTrue ( ) ;
249
+ }
250
+
251
+ [ Fact ]
252
+ public void should_add_short_version_of_pin_to_the_option_set ( )
253
+ {
254
+ optionSet . Contains ( "pin" ) . ShouldBeTrue ( ) ;
255
+ }
238
256
}
239
257
240
258
public class when_handling_additional_argument_parsing : ChocolateyInstallCommandSpecsBase
Original file line number Diff line number Diff line change @@ -217,6 +217,24 @@ public void should_add_short_version_of_password_to_the_option_set()
217
217
{
218
218
optionSet . Contains ( "p" ) . ShouldBeTrue ( ) ;
219
219
}
220
+
221
+ [ Fact ]
222
+ public void should_add_pin_to_the_option_set ( )
223
+ {
224
+ optionSet . Contains ( "pinpackage" ) . ShouldBeTrue ( ) ;
225
+ }
226
+
227
+ [ Fact ]
228
+ public void should_add_long_version_of_pin_to_the_option_set ( )
229
+ {
230
+ optionSet . Contains ( "pin-package" ) . ShouldBeTrue ( ) ;
231
+ }
232
+
233
+ [ Fact ]
234
+ public void should_add_short_version_of_pin_to_the_option_set ( )
235
+ {
236
+ optionSet . Contains ( "pin" ) . ShouldBeTrue ( ) ;
237
+ }
220
238
}
221
239
222
240
public class when_handling_additional_argument_parsing : ChocolateyUpgradeCommandSpecsBase
You can’t perform that action at this time.
0 commit comments