Wrap wlang test in a rescue clause.
This commit is contained in:
parent
46f2547cf4
commit
31155b577c
|
@ -1,4 +1,6 @@
|
|||
require File.expand_path('../helper', __FILE__)
|
||||
|
||||
begin
|
||||
require 'wlang'
|
||||
|
||||
class WLangTest < Test::Unit::TestCase
|
||||
|
@ -62,3 +64,7 @@ class WLangTest < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
end
|
||||
|
||||
rescue LoadError
|
||||
warn "#{$!.to_s}: skipping wlang tests"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue