1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/*: should not depend on $KCODE.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nahi 2004-02-18 13:08:08 +00:00
parent 44284f71c9
commit 994dfc0ae6
36 changed files with 32 additions and 84 deletions

View file

@ -1,8 +1,6 @@
require 'test/unit'
require 'envutil'
$KCODE = 'none'
class TestSystem < Test::Unit::TestCase
def valid_syntax?(code, fname)
eval("BEGIN {return true}\n#{code}", nil, fname, 0)