Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Wrap wlang test in a rescue clause.

  • Loading branch information...
commit 31155b577cd67f1a502f9c5bf00c67c3861439c3 1 parent 46f2547
@blambeau blambeau authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 test/wlang_test.rb
View
8 test/wlang_test.rb
@@ -1,4 +1,6 @@
require File.expand_path('../helper', __FILE__)
+
+begin
require 'wlang'
class WLangTest < Test::Unit::TestCase
@@ -61,4 +63,8 @@ def who; "world"; end
assert_body "WLang Layout!\nHello World"
end
-end
+end
+
+rescue LoadError
+ warn "#{$!.to_s}: skipping wlang tests"
+end
Please sign in to comment.
Something went wrong with that request. Please try again.