X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT395-ruby.sh;h=94fab10661630ef12af274063964a6bbfc83b9bc;hb=c1b99d6f949bbbd0eef1f70baa2a02c1857093b2;hp=1d27e191505c46134f5fb9f1e91f317d72c244a7;hpb=a75a9a5aed69515c9c53814f8597c932cf168d1e;p=notmuch diff --git a/test/T395-ruby.sh b/test/T395-ruby.sh index 1d27e191..94fab106 100755 --- a/test/T395-ruby.sh +++ b/test/T395-ruby.sh @@ -12,10 +12,7 @@ test_ruby() { ( cat <<-\EOF require 'notmuch' - $maildir = ENV['MAIL_DIR'] - if not $maildir then - abort('environment variable MAIL_DIR must be set') - end + $maildir = ENV['MAIL_DIR'] || abort('MAIL_DIR not set') @db = Notmuch::Database.new($maildir) EOF cat