Exemplo n.º 1
0
Arquivo: Tests.cs Projeto: serra/CLAP
        public void Parameter_WithDefault_AmbiguousDefaults()
        {
            var t = new ParameterWithDefaults_2();

            Expect(() => Parser.Run(new[] {"foo"}, t), Throws.InstanceOf<AmbiguousParameterDefaultException>());
        }
Exemplo n.º 2
0
        public void Parameter_WithDefault_AmbiguousDefaults()
        {
            var t = new ParameterWithDefaults_2();

            Parser.Run(new string[] { "foo" }, t);
        }