You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/11/28 21:30:49 UTC

[whimsy] branch master updated: Doh! Git does not like empty directories

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 446cf4c  Doh! Git does not like empty directories
446cf4c is described below

commit 446cf4c8c5eac143679a3dc9f9391124fc682c28
Author: Sebb <se...@apache.org>
AuthorDate: Thu Nov 28 21:30:34 2019 +0000

    Doh! Git does not like empty directories
---
 lib/spec/lib/icla_spec.rb          | 9 +--------
 lib/test/svn/iclas/ab/icla.pdf     | 0
 lib/test/svn/iclas/ab/icla.pdf.asc | 0
 lib/test/svn/iclas/abcd/icla.pdf   | 0
 lib/test/svn/iclas/abcd/icla2.pdf  | 0
 lib/test/svn/iclas/abcde/icla.pdf  | 0
 6 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/lib/spec/lib/icla_spec.rb b/lib/spec/lib/icla_spec.rb
index 4893f04..da0f1ef 100644
--- a/lib/spec/lib/icla_spec.rb
+++ b/lib/spec/lib/icla_spec.rb
@@ -11,14 +11,7 @@ set_svn 'iclas' # only works with test data as real entry names should not be pu
 # ab/        abc.pdf    abcd/      abcd.pdf   abcde/
 
 describe ASF::ICLAFiles do
-  #+ Debug for Travis
-  dir = ASF::SVN['iclas']
-  puts dir
-  abcl = Dir[File.join(dir,'abc*')].length
-  puts abcl
-  condition = abcl == 4
-  #- Debug 
-  describe "ASF::ICLAFiles.match_claRef", :if => condition do
+  describe "ASF::ICLAFiles.match_claRef" do
     it "should return nil for 'xyz'" do
       res = ASF::ICLAFiles.match_claRef('xyz')
       expect(res).to equal(nil)
diff --git a/lib/test/svn/iclas/ab/icla.pdf b/lib/test/svn/iclas/ab/icla.pdf
new file mode 100644
index 0000000..e69de29
diff --git a/lib/test/svn/iclas/ab/icla.pdf.asc b/lib/test/svn/iclas/ab/icla.pdf.asc
new file mode 100644
index 0000000..e69de29
diff --git a/lib/test/svn/iclas/abcd/icla.pdf b/lib/test/svn/iclas/abcd/icla.pdf
new file mode 100644
index 0000000..e69de29
diff --git a/lib/test/svn/iclas/abcd/icla2.pdf b/lib/test/svn/iclas/abcd/icla2.pdf
new file mode 100644
index 0000000..e69de29
diff --git a/lib/test/svn/iclas/abcde/icla.pdf b/lib/test/svn/iclas/abcde/icla.pdf
new file mode 100644
index 0000000..e69de29