mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-27 18:24:27 +01:00
- now compat with Ruby 1.9.2
git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@99 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
@@ -251,8 +251,10 @@ if ($0 == __FILE__)
|
||||
#parse out all the options first
|
||||
ARGV.reject! do |arg|
|
||||
case(arg)
|
||||
when '-cexception': options[:plugins] = [:cexception]; true
|
||||
when /\w+\.yml/: options = UnityTestRunnerGenerator.grab_config(arg); true
|
||||
when '-cexception'
|
||||
options[:plugins] = [:cexception]; true
|
||||
when /\w+\.yml/
|
||||
options = UnityTestRunnerGenerator.grab_config(arg); true
|
||||
else false
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user