summaryrefslogtreecommitdiff
path: root/test/ripper/test_parser_events.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-20 06:35:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-20 06:35:26 +0000
commit28d97e63d64494b1f74e340b40ffe49f84e38af3 (patch)
tree4b82337d082916cb72522abad2342b47bf03902a /test/ripper/test_parser_events.rb
parente3e93bb53e6407869cce1149ab27bd7f27034a7a (diff)
* test/ripper/test_*.rb: fixed indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ripper/test_parser_events.rb')
-rw-r--r--test/ripper/test_parser_events.rb15
1 files changed, 7 insertions, 8 deletions
diff --git a/test/ripper/test_parser_events.rb b/test/ripper/test_parser_events.rb
index 6ca81d3..6b37ff4 100644
--- a/test/ripper/test_parser_events.rb
+++ b/test/ripper/test_parser_events.rb
@@ -1,8 +1,10 @@
begin
-
-require_relative 'dummyparser'
-require_relative '../ruby/envutil'
-require 'test/unit'
+ require_relative 'dummyparser'
+ require_relative '../ruby/envutil'
+ require 'test/unit'
+ ripper_test = true
+rescue LoadError
+end
class TestRipper_ParserEvents < Test::Unit::TestCase
@@ -624,7 +626,4 @@ class TestRipper_ParserEvents < Test::Unit::TestCase
["[fcall(proc,[],&block([],[void()]))]"], [], '[ruby-dev:39423]')
end
end
-end
-
-rescue LoadError
-end
+end if ripper_test