11// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information.
22
3+ using CommandLine . Core ;
4+
5+ using CSharpx ;
6+
37using System ;
48using System . Collections . Generic ;
59using System . Linq ;
6- using CommandLine . Core ;
7- using CSharpx ;
10+
811using Xunit ;
912
1013namespace CommandLine . Tests . Unit . Core
@@ -17,12 +20,12 @@ public void Partition_sequence_returns_sequence()
1720 // Fixture setup
1821 var expectedSequence = new [ ]
1922 {
20- new KeyValuePair < string , IEnumerable < string > > ( "i" , new [ ] { "10" , "20" , "30" , "40" } )
23+ new KeyValuePair < string , IEnumerable < string > > ( "i" , new [ ] { "10" , "20" , "30" , "40" } )
2124 } ;
22- var specs = new [ ]
25+ var specs = new [ ]
2326 {
24- new OptionSpecification ( string . Empty , "stringvalue" , false , string . Empty , Maybe . Nothing < int > ( ) , Maybe . Nothing < int > ( ) , '\0 ' , null , string . Empty , string . Empty , new List < string > ( ) , typeof ( string ) , TargetType . Scalar ) ,
25- new OptionSpecification ( "i" , string . Empty , false , string . Empty , Maybe . Just ( 3 ) , Maybe . Just ( 4 ) , '\0 ' , null , string . Empty , string . Empty , new List < string > ( ) , typeof ( IEnumerable < int > ) , TargetType . Sequence )
27+ new OptionSpecification ( string . Empty , "stringvalue" , false , string . Empty , Maybe . Nothing < int > ( ) , Maybe . Nothing < int > ( ) , '\0 ' , null , string . Empty , string . Empty , new List < string > ( ) , typeof ( string ) , TargetType . Scalar , Maybe . Nothing < string > ( ) ) ,
28+ new OptionSpecification ( "i" , string . Empty , false , string . Empty , Maybe . Just ( 3 ) , Maybe . Just ( 4 ) , '\0 ' , null , string . Empty , string . Empty , new List < string > ( ) , typeof ( IEnumerable < int > ) , TargetType . Sequence , Maybe . Nothing < string > ( ) )
2629 } ;
2730
2831 // Exercize system
@@ -44,12 +47,12 @@ public void Partition_sequence_returns_sequence_with_duplicates()
4447 // Fixture setup
4548 var expectedSequence = new [ ]
4649 {
47- new KeyValuePair < string , IEnumerable < string > > ( "i" , new [ ] { "10" , "10" , "30" , "40" } )
50+ new KeyValuePair < string , IEnumerable < string > > ( "i" , new [ ] { "10" , "10" , "30" , "40" } )
4851 } ;
49- var specs = new [ ]
52+ var specs = new [ ]
5053 {
51- new OptionSpecification ( string . Empty , "stringvalue" , false , string . Empty , Maybe . Nothing < int > ( ) , Maybe . Nothing < int > ( ) , '\0 ' , null , string . Empty , string . Empty , new List < string > ( ) , typeof ( string ) , TargetType . Scalar ) ,
52- new OptionSpecification ( "i" , string . Empty , false , string . Empty , Maybe . Just ( 3 ) , Maybe . Just ( 4 ) , '\0 ' , null , string . Empty , string . Empty , new List < string > ( ) , typeof ( IEnumerable < int > ) , TargetType . Sequence )
54+ new OptionSpecification ( string . Empty , "stringvalue" , false , string . Empty , Maybe . Nothing < int > ( ) , Maybe . Nothing < int > ( ) , '\0 ' , null , string . Empty , string . Empty , new List < string > ( ) , typeof ( string ) , TargetType . Scalar , Maybe . Nothing < string > ( ) ) ,
55+ new OptionSpecification ( "i" , string . Empty , false , string . Empty , Maybe . Just ( 3 ) , Maybe . Just ( 4 ) , '\0 ' , null , string . Empty , string . Empty , new List < string > ( ) , typeof ( IEnumerable < int > ) , TargetType . Sequence , Maybe . Nothing < string > ( ) )
5356 } ;
5457
5558 // Exercize system
0 commit comments