diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-02 16:26:42 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-02 16:26:42 +0200 |
commit | e430180e652a77f05c6ca041d64d05297f14ee59 (patch) | |
tree | f79c6c6099cf89292d686d187ee4a225271ffc72 /spec | |
parent | 2179051f19d698ec363a3277645b842aafdc4e58 (diff) | |
download | ffi-efl-e430180e652a77f05c6ca041d64d05297f14ee59.zip ffi-efl-e430180e652a77f05c6ca041d64d05297f14ee59.tar.gz |
clear ecore_getopt specs
Diffstat (limited to 'spec')
-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 |