Skip to content

Commit 845a777

Browse files
committed
(maint) Remove usage of "wtf"
Not really the best thing to use as a test string. Let's use"abc" instead.
1 parent 05070a1 commit 845a777

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/chocolatey.tests/infrastructure.app/commands/ChocolateyFeatureCommandSpecs.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public void Should_use_the_first_unparsed_arg_as_the_subcommand()
125125
public void Should_throw_when_more_than_one_unparsed_arg_is_passed()
126126
{
127127
Reset();
128-
_unparsedArgs.Add("wtf");
128+
_unparsedArgs.Add("abc");
129129
_unparsedArgs.Add("bbq");
130130
var errored = false;
131131
Exception error = null;
@@ -170,7 +170,7 @@ public void Should_accept_disable_as_the_subcommand()
170170
public void Should_set_unrecognized_values_to_list_as_the_subcommand()
171171
{
172172
Reset();
173-
_unparsedArgs.Add("wtf");
173+
_unparsedArgs.Add("abc");
174174
_because();
175175

176176
Configuration.FeatureCommand.Command.Should().Be(FeatureCommandType.List);

src/chocolatey.tests/infrastructure.app/commands/ChocolateyLicenseCommandSpecs.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public void Should_use_the_first_unparsed_arg_as_the_subcommand()
9898
public void Should_throw_when_more_than_one_unparsed_arg_is_passed()
9999
{
100100
Reset();
101-
_unparsedArgs.Add("wtf");
101+
_unparsedArgs.Add("abc");
102102
_unparsedArgs.Add("bbq");
103103
var errored = false;
104104
Exception error = null;
@@ -143,7 +143,7 @@ public void Should_accept_uppercase_info_as_the_subcommand()
143143
public void Should_set_unrecognized_values_to_info_as_the_subcommand()
144144
{
145145
Reset();
146-
_unparsedArgs.Add("wtf");
146+
_unparsedArgs.Add("abc");
147147
_because();
148148

149149
Configuration.LicenseCommand.Command.Should().Be(LicenseCommandType.Info);

src/chocolatey.tests/infrastructure.app/commands/ChocolateyPinCommandSpecs.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public void Should_use_the_first_unparsed_arg_as_the_subcommand()
181181
public void Should_throw_when_more_than_one_unparsed_arg_is_passed()
182182
{
183183
Reset();
184-
_unparsedArgs.Add("wtf");
184+
_unparsedArgs.Add("abc");
185185
_unparsedArgs.Add("bbq");
186186
var errored = false;
187187
Exception error = null;
@@ -236,7 +236,7 @@ public void Should_remove_add_as_the_subcommand()
236236
public void Should_set_unrecognized_values_to_list_as_the_subcommand()
237237
{
238238
Reset();
239-
_unparsedArgs.Add("wtf");
239+
_unparsedArgs.Add("abc");
240240
_because();
241241

242242
Configuration.PinCommand.Command.Should().Be(PinCommandType.List);

src/chocolatey.tests/infrastructure.app/commands/ChocolateySourceCommandSpecs.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public void Should_use_the_first_unparsed_arg_as_the_subcommand()
167167
public void Should_throw_when_more_than_one_unparsed_arg_is_passed()
168168
{
169169
Reset();
170-
_unparsedArgs.Add("wtf");
170+
_unparsedArgs.Add("abc");
171171
_unparsedArgs.Add("bbq");
172172
var errored = false;
173173
Exception error = null;
@@ -242,7 +242,7 @@ public void Should_accept_disable_as_the_subcommand()
242242
public void Should_set_unrecognized_values_to_list_as_the_subcommand()
243243
{
244244
Reset();
245-
_unparsedArgs.Add("wtf");
245+
_unparsedArgs.Add("abc");
246246
_because();
247247

248248
Configuration.SourceCommand.Command.Should().Be(SourceCommandType.List);

0 commit comments

Comments
 (0)