From 5acfd1653e59f6baa191551a8a6c87f471faf299 Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Mon, 9 May 2011 23:04:45 +0200 Subject: bugfix ecore_getopt --help --- spec/ecore_getopt_spec.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'spec') 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 -- cgit v1.2.3