mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/ruby/test_require.rb: remove duplicate assertion
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0a733176da
commit
08d44417e0
1 changed files with 0 additions and 7 deletions
|
@ -433,13 +433,6 @@ class TestRequire < Test::Unit::TestCase
|
|||
assert_raise(SecurityError) {require "#{ file }"}
|
||||
INPUT
|
||||
|
||||
assert_separately([], <<-INPUT)
|
||||
abs_dir = "#{ abs_dir }"
|
||||
$: << abs_dir.taint
|
||||
$SAFE = 1
|
||||
assert_raise(SecurityError) {require "#{ file }"}
|
||||
INPUT
|
||||
|
||||
assert_separately([], <<-INPUT)
|
||||
abs_dir = "#{ abs_dir }"
|
||||
$: << abs_dir << 'elsewhere'.taint
|
||||
|
|
Loading…
Add table
Reference in a new issue