Skip to content

Commit a168326

Browse files
committed
Removed tests for multiple argument values switching among long and short names
1 parent 6aedcda commit a168326

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

Utility.CommandLine.Arguments.Tests/Arguments.cs

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -745,22 +745,6 @@ public void PopulateSingle()
745745
Assert.Equal("one", Array[0]);
746746
}
747747

748-
/// <summary>
749-
/// Tests the <see cref="Utility.CommandLine.Arguments.Populate(Type, string)"/> method with an explicit string
750-
/// containing multiple instances of an array-backed argument, and containing a change from short to long names and back.
751-
/// </summary>
752-
[Fact]
753-
public void PopulateWithNameChange()
754-
{
755-
Exception ex = Record.Exception(() => CommandLine.Arguments.Populate(GetType(), "-a one --array two -a three"));
756-
757-
Assert.Null(ex);
758-
Assert.Equal(3, Array.Length);
759-
Assert.Equal("one", Array[0]);
760-
Assert.Equal("two", Array[1]);
761-
Assert.Equal("three", Array[2]);
762-
}
763-
764748
#endregion Public Methods
765749
}
766750

@@ -848,22 +832,6 @@ public void PopulateSingle()
848832
Assert.Equal("one", List[0]);
849833
}
850834

851-
/// <summary>
852-
/// Tests the <see cref="Utility.CommandLine.Arguments.Populate(Type, string)"/> method with an explicit string
853-
/// containing multiple instances of a list-backed argument, and containing a change from short to long names and back.
854-
/// </summary>
855-
[Fact]
856-
public void PopulateWithNameChange()
857-
{
858-
Exception ex = Record.Exception(() => CommandLine.Arguments.Populate(GetType(), "-l one --list two -l three"));
859-
860-
Assert.Null(ex);
861-
Assert.Equal(3, List.Count);
862-
Assert.Equal("one", List[0]);
863-
Assert.Equal("two", List[1]);
864-
Assert.Equal("three", List[2]);
865-
}
866-
867835
#endregion Public Methods
868836
}
869837

0 commit comments

Comments
 (0)