You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2013/10/11 19:56:40 UTC
svn commit: r1531373 - /buildr/trunk/spec/java/ecj_spec.rb
Author: donaldp
Date: Fri Oct 11 17:56:40 2013
New Revision: 1531373
URL: http://svn.apache.org/r1531373
Log:
Fix bug in test
Modified:
buildr/trunk/spec/java/ecj_spec.rb
Modified: buildr/trunk/spec/java/ecj_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/java/ecj_spec.rb?rev=1531373&r1=1531372&r2=1531373&view=diff
==============================================================================
--- buildr/trunk/spec/java/ecj_spec.rb (original)
+++ buildr/trunk/spec/java/ecj_spec.rb Fri Oct 11 17:56:40 2013
@@ -29,7 +29,8 @@ describe Buildr::Compiler::Ecj do
paths.flatten!
ext_glob = Array(source_ext).join(',')
- paths.each { |path|
+ paths.each { |path|
+ path = path.to_s
Find.find(path) {|found|
if (!File.directory?(found)) && found.match(/.*\.#{Array(source_ext).join('|')}/)
return true