aboutsummaryrefslogtreecommitdiffstats
path: root/test/ripper/test_scanner_events.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ripper/test_scanner_events.rb')
-rw-r--r--test/ripper/test_scanner_events.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ripper/test_scanner_events.rb b/test/ripper/test_scanner_events.rb
index 5847a61b63..644f9edb29 100644
--- a/test/ripper/test_scanner_events.rb
+++ b/test/ripper/test_scanner_events.rb
@@ -1,6 +1,7 @@
#
# test_scanner_events.rb
#
+begin
require 'ripper'
require 'test/unit'
@@ -801,3 +802,6 @@ class TestRipper_ScannerEvents < Test::Unit::TestCase
end
end
+
+rescue LoadError
+end