summaryrefslogtreecommitdiff
path: root/test/tc_parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_parser.rb')
-rwxr-xr-xtest/tc_parser.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tc_parser.rb b/test/tc_parser.rb
index 72fabf0..89339f0 100755
--- a/test/tc_parser.rb
+++ b/test/tc_parser.rb
@@ -8,6 +8,7 @@ require 'feed2imap/channel'
class ParserTest < Test::Unit::TestCase
DATADIR = 'test/parserdata'
def test_parser
+ return if not File::exist?(DATADIR)
Dir.foreach(DATADIR) do |f|
next if f !~ /.xml$/
str = File::read(DATADIR + '/' + f)