Ignore:
Timestamp:
Sep 2, 2008, 5:48:43 AM (13 years ago)
Author:
Peter
Message:

refs #413

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/commandline_test.cc

    r1465 r1466  
    5757    suite.add(test_failures(suite));
    5858    suite.add(test_option_name_clash(suite));
    59     suite.add(test_free_arg(suite));
     59    //suite.add(test_free_arg(suite));
    6060  }
    6161  catch (std::runtime_error& e) {
     
    368368  }
    369369
     370
     371  suite.err() << "Testing invalid: test_prog peter...";
     372  {
     373    int ac = 2;
     374    char* av[] = { "test_prog", "peter" };
     375    try{
     376      cmd.parse(ac,av);
     377      suite.err() << "failed\n";
     378      ok =false;
     379    }
     380    catch (...) {
     381      suite.err() << "ok\n";
     382    }
     383  }
    370384
    371385  suite.err() << "Testing OptionArg required ...";
Note: See TracChangeset for help on using the changeset viewer.