diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-09 23:04:45 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-09 23:04:45 +0200 |
commit | 5acfd1653e59f6baa191551a8a6c87f471faf299 (patch) | |
tree | 1a94160d470a4c93e8e61505db13ef147f147fbf /spec | |
parent | 733a2ca1dd5ee08048eff4b50fbe5e07ee3498e1 (diff) | |
download | ffi-efl-5acfd1653e59f6baa191551a8a6c87f471faf299.zip ffi-efl-5acfd1653e59f6baa191551a8a6c87f471faf299.tar.gz |
bugfix ecore_getopt --help
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ecore_getopt_spec.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/ecore_getopt_spec.rb b/spec/ecore_getopt_spec.rb index 9cd95dc..a3c3a30 100644 --- a/spec/ecore_getopt_spec.rb +++ b/spec/ecore_getopt_spec.rb @@ -125,14 +125,14 @@ describe Efl::EcoreGetopt do args = @p.parse ["progname","--version"] @values[:version].read_char.should == 1 end -# it "should handle -H" do -# args = @p.parse ["My lovely prog name","-H"] -# @values[:help].read_char.should == 1 -# end -# it "should handle --help" do -# args = @p.parse ["progname","--help"] -# @values[:help].read_char.should == 1 -# end + it "should handle -H" do + args = @p.parse ["My lovely prog name","-H"] + @values[:help].read_char.should == 1 + end + it "should handle --help" do + args = @p.parse ["progname","--help"] + @values[:help].read_char.should == 1 + end it "should handle -E" do args = @p.parse ["My lovely prog name","-E"] @values[:engines].read_char.should == 1 |