]> git.donarmstrong.com Git - biopieces.git/commitdiff
fixed typo in test_biopieces.rb
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 6 Sep 2011 11:47:33 +0000 (11:47 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 6 Sep 2011 11:47:33 +0000 (11:47 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1523 74ccb610-7750-0410-82ae-013aeee3265d

code_ruby/test/maasha/test_biopieces.rb

index 86da311043ab64837ee4e86d7b6d4dfec34b87a9..af339678132fb0613c97db640ac2881062a6ace6 100755 (executable)
@@ -201,7 +201,7 @@ class BiopiecesTest < Test::Unit::TestCase
   end
 
 #  # FIXME This one fails because any argument to a flag is ignored and the flag value is set to true. Should it raise?
-#  test "Options.parse with type cast flag with an argument raises
+#  test "Options.parse with type cast flag with and argument raises
 #    casts = [{:long=>"foo", :short=>"f", :type=>"flag", :mandatory=>false, :default=>nil, :allowed=>nil, :disallowed=>nil}]
 #    opt_parser = Options.new(casts)
 #    assert_raise(ArgumentError) { opt_parser.parse(["--foo", "bar"],SCRIPT_PATH) }
@@ -246,7 +246,7 @@ class BiopiecesTest < Test::Unit::TestCase
      assert_nothing_raised(ArgumentError) { Biopieces.options_parse(argv,casts,SCRIPT_PATH) }
    end
  
- #  # This one results in an error: "OptionParser::InvalidArgument: invalid argument: --foo bar"
+#  # This one results in an error: "OptionParser::InvalidArgument: invalid argument: --foo bar"
 #  # So it appears that this is tested in OptionParser already.
 #  test "Options.parse with type cast int and non-int value raises" do
 #    ["bar" ].each do |val| # what about nil, false, true, [], {}, 0.1 ?