summaryrefslogtreecommitdiffstats
path: root/spec/ecore_getopt_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ecore_getopt_spec.rb')
-rw-r--r--spec/ecore_getopt_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/ecore_getopt_spec.rb b/spec/ecore_getopt_spec.rb
index 7ae9ce3..e8fef67 100644
--- a/spec/ecore_getopt_spec.rb
+++ b/spec/ecore_getopt_spec.rb
@@ -59,8 +59,10 @@ describe Efl::EcoreGetopt do
end
#
describe "license copyright version help" do
- it "DEBUG" do
- puts @p.debug
+ if ENV['DEBUG']
+ it "DEBUG" do
+ puts @p.debug
+ end
end
it "should handle -L" do
args = @p.parse ["My lovely prog name","-L"]