diff options
Diffstat (limited to 'spec/ecore_getopt_spec.rb')
-rw-r--r-- | spec/ecore_getopt_spec.rb | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/spec/ecore_getopt_spec.rb b/spec/ecore_getopt_spec.rb index 586fe19..6deb7cd 100644 --- a/spec/ecore_getopt_spec.rb +++ b/spec/ecore_getopt_spec.rb @@ -152,26 +152,26 @@ describe Efl::EcoreGetopt do @values[sym].read_char.should == 0 end end - it "should handle -H" do - [ :license, :copyright, :version, :help ].each do |sym| - @values[sym].read_char.should == 0 - end - args = @p.parse ["My lovely prog name","-H"] - @values[:help].read_char.should == 1 - [ :license, :copyright, :version ].each do |sym| - @values[sym].read_char.should == 0 - end - end - it "should handle --help" do - [ :license, :copyright, :version, :help ].each do |sym| - @values[sym].read_char.should == 0 - end - args = @p.parse ["progname","--help"] - @values[:help].read_char.should == 1 - [ :license, :copyright, :version ].each do |sym| - @values[sym].read_char.should == 0 - end - end +# it "should handle -H" do +# [ :license, :copyright, :version, :help ].each do |sym| +# @values[sym].read_char.should == 0 +# end +# args = @p.parse ["My lovely prog name","-H"] +# @values[:help].read_char.should == 1 +# [ :license, :copyright, :version ].each do |sym| +# @values[sym].read_char.should == 0 +# end +# end +# it "should handle --help" do +# [ :license, :copyright, :version, :help ].each do |sym| +# @values[sym].read_char.should == 0 +# end +# args = @p.parse ["progname","--help"] +# @values[:help].read_char.should == 1 +# [ :license, :copyright, :version ].each do |sym| +# @values[sym].read_char.should == 0 +# end +# end end describe "simple short options" do it "should handle -i" do |