diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-26 02:59:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-26 02:59:09 +0000 |
commit | b6a6fa0af47f9e1647b17aedc2e4269498b0f086 (patch) | |
tree | 5f80de2a4d036c58ca3a204d13ec7634af1f6ae7 | |
parent | 4fa7a0d8df9dd4dd623261087180d40bd457ff83 (diff) | |
download | ruby-b6a6fa0af47f9e1647b17aedc2e4269498b0f086.tar.gz |
test_syntax.rb: envutil
* test/ruby/test_syntax.rb (test_syntax): require envutil for
assert_valid_syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/test_syntax.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_syntax.rb b/test/ruby/test_syntax.rb index a8e8f9b6f2..3dd222fd74 100644 --- a/test/ruby/test_syntax.rb +++ b/test/ruby/test_syntax.rb @@ -3,7 +3,7 @@ require_relative 'envutil' class TestSyntax < Test::Unit::TestCase def test_syntax - assert_separately %w[--disable-gem], __FILE__, __LINE__, <<-'eom' + assert_separately %W[--disable-gem -r#{__dir__}/envutil], __FILE__, __LINE__, <<-'eom' assert_nothing_raised(Exception) do for script in Dir[File.expand_path("../../../{lib,sample,ext,test}/**/*.rb", __FILE__)].sort assert_valid_syntax(IO::read(script), script) |